This documentation is for version 2.0.dev, which is not released yet.
Class for orthographic parsing using orthography profiles.
Parameters : | orthography_profile : file
|
---|
Notes
The orthography profile class for reading in a dictionary’s orthography profile and parsing and formating strings into the agreed upon format:
input string example: uubo output string example: # uu b o #
Methods in this class return a tuple of (True or False, parsed-string). The first element in the tuple relays whether the string parsed sucessfully. The second element returns the parsed string.
Methods
exists_multiple_columns() | Returns boolean of whether multiple columns exist in the orthography profile, e.g. |
graphemes_to_ipa(string) | Returns the parsed and formated string given the graphemes encoded in the |
parse_formatted_string_to_ipa_string(string) | Returns the parsed and formated string given the graphemes encoded in the |
parse_graphemes(string) | Parses orthograhy profile specified graphemes given a string. |
parse_string_to_graphemes(string) | Accepts a string and returns a orthographically parsed tuple of graphemes. |
parse_string_to_graphemes_string(string) | Returns the parsed and formated string given the graphemes encoded in the orthography profile. |
parse_string_to_graphemes_string_DEPRECATED(string) | |
parse_string_to_ipa_phonemes(string) | Accepts a string and returns a IPA parsed tuple of phonemes. |
parse_string_to_ipa_string(string) | Returns the parsed and formated string given the graphemes encoded in the |