libak
0.4.0
|
Lexicon model. More...
Data Fields | |
akLexiconType | type |
Type of the lexicon. | |
akDict * | words |
Dictionary with the words of the lexicon. | |
size_t | N |
Number of current entries in the lexicon. |
Lexicon model.
This structure store how words are represented as character 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. Wild-cards are special symbols, which are stored in the lexicon, and represent sets of characters. Crossword lexicon also store the possible transitions between wildcards.
size_t akLexicon::N |
Number of current entries in the lexicon.
Type of the lexicon.
Dictionary with the words of the lexicon.