Developmental Measures#
Several developmental measures are defined as Reader
methods:
|
Return the mean lengths of utterance (MLU). |
|
Return the mean lengths of utterance in morphemes. |
|
Return the mean lengths of utterance in words. |
|
Return the type-token ratios (TTR). |
|
Return the indexes of productive syntax (IPSyn). |
For the mean lengths of utterance (MLU) in Eve’s data from Brown:
>>> import pylangacq
>>> url = "https://childes.talkbank.org/data/Eng-NA/Brown.zip"
>>> eve = pylangacq.read_chat(url, "Eve")
>>> eve.mlu()
[2.309041835357625,
2.488372093023256,
2.8063241106719365,
2.618803418803419,
2.8852691218130313,
3.203358208955224,
3.179732313575526,
3.4171011470281543,
3.840077071290944,
3.822669104204753,
3.8814317673378076,
4.176287051482059,
4.2631578947368425,
3.976890756302521,
4.457182320441989,
4.416536661466458,
4.499446290143965,
4.289506953223768,
4.3813169984686064,
3.3191094619666046]