Home | Trees | Indices | Help |
|
---|
|
PinyinBrailleConverter defines a converter between the Chinese romanisation Hanyu Pinyin (with tone marks as numbers) and the Braille system for Mandarin.
Conversion from Braille to Pinyin is ambiguous. The syllable pairs mo/me, e/o and le/lo will yield an AmbiguousConversionError.
See Also:
To Do (Impl): Move the toneMarks option to the MandarinBrailleOperator.
|
|||
|
|||
|
|||
list of str |
|
||
str |
|
||
Inherited from Inherited from Inherited from |
|
|||
dict |
|
|
|||
CONVERSION_DIRECTIONS =
List of tuples for specifying supported conversion directions from reading A to reading B. |
|||
PUNCTUATION_SIGNS_MAPPING =
|
|
|||
Inherited from |
|
Creates an instance of the PinyinBrailleConverter.
|
Returns the reading converter's default options. The keyword 'dbConnectInst' is not regarded a configuration option of the converter and is thus not included in the dict returned.
|
Converts a list of entities in the source reading to the given target reading. The default implementation will raise a NotImplementedError.
|
Converts a basic entity (a syllable) in the source reading to the given target reading. This method is called by convertEntities() and a single entity is given for conversion. If a single entity needs to be converted it is recommended to use convertEntities() instead. In the general case it can not be ensured that a mapping from one reading to another can be done by the simple conversion of a basic entity. One-to-many mappings are possible and there is no guarantee that any entity of a reading recognised by operator.ReadingOperator.isReadingEntity() will be mapped here.
|
|
CONVERSION_DIRECTIONSList of tuples for specifying supported conversion directions from reading A to reading B. If both directions are supported, two tuples (A, B) and (B, A) are given.
|
PUNCTUATION_SIGNS_MAPPING
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 19 22:38:36 2009 | http://epydoc.sourceforge.net |