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

Class SlimUnihanBuilder

source code


Builds a slim version of the Unihan database.

Keys imported into the database are specified in INCLUDE_KEYS.

Nested Classes [hide private]

Inherited from UnihanBuilder: EntryGenerator

Instance Methods [hide private]
instance
getUnihanGenerator(self)
Returns the UnihanGenerator.
source code

Inherited from UnihanBuilder: __init__, build, getGenerator

Inherited from EntryGeneratorBuilder: getEntryDict, remove

Inherited from TableBuilder: buildIndexObjects, buildTableObject, findFile

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  INCLUDE_KEYS = ['kCompatibilityVariant', 'kCantonese', 'kFrequ...
Keys for that data is read into the Unihan table in database.

Inherited from UnihanBuilder: CHARACTER_COLUMN, COLUMN_TYPES, PROVIDES, unihanGenerator

Inherited from EntryGeneratorBuilder: COLUMNS, INDEX_KEYS, PRIMARY_KEYS

Inherited from TableBuilder: DEPENDS

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getUnihanGenerator(self)

source code 

Returns the UnihanGenerator. Constructs it if needed.

Returns: instance
instance of a UnihanGenerator
Overrides: UnihanBuilder.getUnihanGenerator
(inherited documentation)

Class Variable Details [hide private]

INCLUDE_KEYS

Keys for that data is read into the Unihan table in database.

Value:
['kCompatibilityVariant',
 'kCantonese',
 'kFrequency',
 'kHangul',
 'kHanyuPinlu',
 'kJapaneseKun',
 'kJapaneseOn',
 'kMandarin',
...