# measures — Developmental measures¶

The measures module has the source code for computing language developmental measures. While the functions defined in the measures are not called directly by the user in general, they are called indirectly through Reader methods. See Developmental measures for usage.

pylangacq.measures.get_IPSyn(tagged_sents)[source]

Index of Productive Syntax (IPSyn)

pylangacq.measures.get_MLUm(tagged_sents, pos_to_ignore=None)[source]

Mean length of utterance (MLU) in morphemes

pylangacq.measures.get_MLUw(sents, words_to_ignore=None)[source]

Mean length of utterance (MLU) in words

pylangacq.measures.get_TTR(word_freq_dict, words_to_ignore=None)[source]

Type-token ratio (TTR)