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

Class KanjidicGenerator

source code

Generates the KANJIDIC table.

Instance Methods [hide private]
 
__init__(self, dataPath, tagDict)
Initialises the KanjidicGenerator.
source code
file
getHandle(self)
Returns a handle of the KANJIDIC database file.
source code
 
generator(self)
Provides a pronunciation and a path to the audio file.
source code
Method Details [hide private]

__init__(self, dataPath, tagDict)
(Constructor)

source code 

Initialises the KanjidicGenerator.

Parameters:
  • dataPath (list of str) - optional list of paths to the data file(s)

getHandle(self)

source code 

Returns a handle of the KANJIDIC database file.

Returns: file
file handle of the KANJIDIC file