Logo Search packages:      
Sourcecode: apertium version File versions  Download package

Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes

LexTor Class Reference

#include <lextor.h>

Collaboration diagram for LexTor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void lexical_selector (wistream &wis, FSTProcessor &fstp, int left, int right, double weigth_exponent=0, LexTorEval *lteval=NULL)
 LexTor (const LexTor &lt)
void set_bildic (FSTProcessor *fstp)
void set_lextor_data (LexTorData *ltd)
void set_tlmodel (LexTorData *tlm)
void trainlch (wistream &wis, int left, int right, LexTorData &wordmodel, FSTProcessor &dic, FSTProcessor &bildic, double weigth_exponent=0)
void trainwrd (wistream &wis, int left, int right, double weigth_exponent=0)

Static Public Attributes

static double angleth
static bool debug

Private Member Functions

double cosine (map< wstring, double > &vcontext, const wstring &reduced_lexchoice)
int estimate_winner_lch (deque< LexTorWord > &window, int word_index, double weigth_exponent)
int estimate_winner_lch_cosine (deque< LexTorWord > &window, int word_index, double weigth_exponent)
int estimate_winner_lch_mostprob (deque< LexTorWord > &window, int word_index, double weigth_exponent)
int estimate_winner_lch_voting (deque< LexTorWord > &window, int word_index, double weigth_exponent)
int estimate_winner_lch_votingtl (deque< LexTorWord > &window, int word_index, double weigth_exponent)

Private Attributes

FSTProcessor * fstpbil
LexTorDatalextor_data
LexTorDatatlmodel

Detailed Description

Class LexTor (Lexical Selector class)

Definition at line 37 of file lextor.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index