Frequency analysis in language development