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

Class UnihanStrokeCountBuilder

source code


Builds a mapping between characters and their stroke count using the Unihan data.

Nested Classes [hide private]
  StrokeCountExtractor
Extracts the character stroke count mapping.
  GENERATOR_CLASS
Class defining the iterator for creating the table's data.
Instance Methods [hide private]

Inherited from UnihanDerivedBuilder: __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]
  PROVIDES = 'UnihanStrokeCount'
Contains the name of the table provided by this module.
  COLUMN_SOURCE = 'kTotalStrokes'
Unihan table column providing content for the table.
  COLUMN_TARGET = 'StrokeCount'
Column name for new data in created table.
  COLUMN_TARGET_TYPE = Integer()
Type of column for new data in created table.

Inherited from UnihanDerivedBuilder: DEPENDS

Inherited from EntryGeneratorBuilder: COLUMNS, COLUMN_TYPES, INDEX_KEYS, PRIMARY_KEYS

Properties [hide private]

Inherited from object: __class__