Text this: Learning of Structurally Unambiguous Probabilistic Grammars