libak  0.4.0
Data Fields
akLexicon Struct Reference

Lexicon model. More...

Data Fields

akLexiconType type
 Type of the lexicon.
akDictwords
 Dictionary with the words of the lexicon.
size_t N
 Number of current entries in the lexicon.

Detailed Description

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.


Field Documentation

size_t akLexicon::N

Number of current entries in the lexicon.

Type of the lexicon.

Dictionary with the words of the lexicon.

All Data Structures Variables