Package cjklib :: Module build :: Class CharacterReadingBuilder :: Class SimpleReadingSplitter
[hide private]
[frames] | no frames]

Class SimpleReadingSplitter

source code


Generates the reading entities from the Unihan table.

Instance Methods [hide private]
 
__init__(self, readingEntries, quiet=False)
Initialises the ReadingSplitter.
source code
 
generator(self)
Provides one entry per reading entity and character.
source code
Class Variables [hide private]
  SPLIT_REGEX = re.compile(r'(\S+)')
Method Details [hide private]

__init__(self, readingEntries, quiet=False)
(Constructor)

source code 

Initialises the ReadingSplitter.

Parameters:
  • readingEntries (list of tuple) - character reading entries from the Unihan database
  • quiet (bool) - if true no status information will be printed