Learning of Structurally Unambiguous Probabilistic Grammars (Logical Methods in Computer Science, 2023)