TRF Language Model
|
Analyse a determinate feat style (without ":") More...
#include <trf-feature.h>
Classes | |
struct | Field |
Public Member Functions | |
FeatStyle () | |
FeatStyle (const char *pstyle) | |
void | Set (const char *pstyle) |
set and analyze the style More... | |
bool | GetKey (Seq &seq, int nPos, int nOrder, Array< int > &key) |
map a ngram to the index key, return if get a correct key More... | |
Public Attributes | |
int | m_nOrder |
the total order of this style, including the skip distance More... | |
Array< Field > | m_aFields |
each field More... | |
Analyse a determinate feat style (without ":")
Definition at line 91 of file trf-feature.h.
|
inline |
Definition at line 103 of file trf-feature.h.
|
inline |
Definition at line 104 of file trf-feature.h.
map a ngram to the index key, return if get a correct key
Definition at line 92 of file trf-feature.cpp.
void trf::FeatStyle::Set | ( | const char * | pstyle | ) |
set and analyze the style
Definition at line 67 of file trf-feature.cpp.
each field
Definition at line 101 of file trf-feature.h.
int trf::FeatStyle::m_nOrder |
the total order of this style, including the skip distance
Definition at line 100 of file trf-feature.h.