Bases: cjklib.reading.converter.ReadingConverter
Provides a converter for different representations of the Chinese romanisation Gwoyeu Romatzyh.
| Parameters: | 
  | 
|---|
Todo
Converts the abbreviated GR spellings to the full form. Non-abbreviated forms will returned unchanged. Takes care of capitalisation.
Multi-syllable forms may not be separated by whitespaces or other entities.
To also convert repetition markers run convertRepetitionMarker() first.
| Parameter: | readingEntities (list of str) – reading entities | 
|---|---|
| Return type: | list of str | 
| Returns: | full entities | 
| Raises AmbiguousConversionError: | |
| if conversion is ambiguous. | |
Converts the repetition markers x and v to the full form they represent.
| Parameter: | readingEntities (list of str) – reading entities | 
|---|---|
| Return type: | list of str | 
| Returns: | reading entities with subsituted repetition markers | 
| Raises ConversionError: | |
| if repetition markers x, v don’t follow a reading entity | |