#include <JXDictionary.h>
Public Member Functions | |
JXDictionary (char *) | |
constructor | |
~JXDictionary () | |
default destructor | |
bool | MapDictionary () |
reads a dictionary index file into a map | |
bool | loadDictionary () |
funtion to prepare the dictionary lookup | |
stack< JXDictionaryEntry * > | LookUp (const string) |
Looks up a word in the dictionary and returns the line in the dictionary as a string (S-JIS). | |
bool | SetGram (UMString &) |
Private Types | |
typedef multimap< string, long >::iterator | MI |
Private Attributes | |
XMLReader * | m_reader |
multimap< string, long > | m_XDictionary |
|
iterator for m_XDictionary multimap |
|
constructor
|
|
default destructor
|
|
funtion to prepare the dictionary lookup reads indexing table from file writes the entries of lemmas and readings and their position in the XML-dictionary into an index-file
|
|
Looks up a word in the dictionary and returns the line in the dictionary as a string (S-JIS).
|
|
reads a dictionary index file into a map
|
|
|
|
pointer to XML file reader object |
|
multimap for storing multiple lemma - position in file pairs |