libTLK
1.3.1
|
Lexicon model. More...
Data Fields | |
tLLexiconType | type |
Type of the lexicon. | |
tLDict * | words |
Dictionary with the words of the lexicon. | |
size_t | N |
Number of current entries in the lexicon. |
Lexicon model.
This structure stores how words are represented as symbol sequences. Each word can be written in several ways, hence, for each way its log-probability is also stored. For crossword lexicons, the first and last symbol of each sequence must be wildcards. Wildcards are special symbols, which are stored in the lexicon, and represent sets of symbols. Crossword lexicons also store the possible transitions between wildcards.
size_t tLLexicon::N |
Number of current entries in the lexicon.
Type of the lexicon.
Dictionary with the words of the lexicon.