{'fraction_non_alphanumeric': 0.009977827050997782, 'fraction_numerical': 0.0, 'mean_word_length': 5.227586206896552, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Towards a Semantic-based Theory of Language Learning

The notion of Structural Example has recently emerged in the domain of grammatical inference. It allows to solve the old difficult problem of learning a grammar from positive examples but seems to be a very had hoc structure for this purpose. In this article, we first propose a formal version of the Principle of Compositionality based on Structural Examples. We then give a sufficient condition under which the Structural Examples used in grammatical inference can be inferred from sentences and their semantic representations, which are supposed to be naturally available in the environment of children learning their mother tongue. Structural Examples thus appear as an interesting intermediate representation between syntax and semantics. This leads us to a new formal model of language learning where semantic information play a crucial role.