Lexicon Struct Reference
[Lexicon - Lexicon structure module]

Lexicon. More...


Data Fields

LexicalAssocMemassociative_memory
LongArraylemma
IntArraypart_of_speech
IntArrayfrequency
DoubleArrayprobability
PointerArrayopen_pos
Morpho max_pos
BidirectionalTriepos_map


Detailed Description

Lexicon.

A lexicon stores is a lexical memory that permits to associate a set of optional fields to each entry:


Field Documentation

LexicalAssocMem* Lexicon::associative_memory

The associative memory that stores the lexicon entry graphies

IntArray* Lexicon::frequency

The dynamic array that stores the lexicon entry frequencies

LongArray* Lexicon::lemma

The dynamic array that stores the lexicon entry lemmas

Morpho Lexicon::max_pos

The largest part of speech numeric value used

Remarks:
This value is useful to avoid conflicts with grammar non-terminals

PointerArray* Lexicon::open_pos

The dynamic array of OpenPosTableItem that stores the list of open parts of speech and its associated probabilities

Remarks:
A lexicon is usually not exhaustive. For a better out-of-vocabulary forms handling, a lexicon allows to store occurency probabilities of the parts of speech for the unrecognized words

IntArray* Lexicon::part_of_speech

The dynamic array that stores the numerical representation or lexicon entry parts of speech

BidirectionalTrie* Lexicon::pos_map

The map table between the internal (numeric) and external (string) representation of parts of speech

Remarks:
This feature is only available for CHARACTER type lexicon
See also:
lexiconCreate()

DoubleArray* Lexicon::probability

The dynamic array that stores the lexicon entry probabilities


Generated on Thu Mar 22 17:46:31 2007 for SlpTk by  doxygen 1.4.7