LingPy

lingpy.data.derive.compile_diacritics_and_vowels

lingpy.data.derive.compile_diacritics_and_vowels()

Function compiles diacritics and vowels.

Notes

Diacritics and vowels are defined in the data/models/dv/ directory of the LingPy package and automatically loaded when loading the LingPy library. The values are defined as the constants ipa_diacritics and ipa_vowels. Their core purpose is to guide the tokenization of IPA strings (cf. ipa2tokens()). In order to change the variables, one simply has to change the text files diacritics and vowels in the data/models/dv directory. The structure of these files is fairly simple: Each line contains a vowel or a diacritic character, whereas diacritics are preceded by a dash.

Previous topic

lingpy.data.derive.compile_model

Next topic

lingpy.data.derive.compile_model