Frog
|
Enumerations | |
enum | Type { UNASS, A, B, C, D, I, N, O, P, Q, V, LET, PN, SPEC, X, Z, AFFIX, XAFFIX, GLUE, NEUTRAL } |
all possible CELEX tags and action properties More... | |
Functions | |
Type | toCLEX (const string &s) |
Type | toCLEX (const char c) |
string | toString (const Type &t) |
bool | is_CELEX_base (const Type &t) |
Type | select_tag (const char ch) |
const string & | get_iDescr (char c) |
const std::string & | get_tDescr (CLEX::Type t) |
Variables | |
const map< CLEX::Type, string > | tagNames |
a harcoded table with a mapping for CLEX::Type to a description More... | |
const map< char, string > | iNames |
const string | empty = "" |
enum CLEX::Type |
all possible CELEX tags and action properties
const std::string & CLEX::get_iDescr | ( | char | c | ) |
get the description related to the inflection symbol 'c'
c | a character value for the inflexion |
const std::string & CLEX::get_tDescr | ( | CLEX::Type | t | ) |
get the description related to the CLEX::Type symbol 't'
t | a CLEX::Type |
bool CLEX::is_CELEX_base | ( | const Type & | t | ) |
Type CLEX::select_tag | ( | const char | ch | ) |
select the CELEX base associated with a character code
ch | a character code |
Type CLEX::toCLEX | ( | const char | c | ) |
convert a character to a CLEX::Type
c | a character |
Type CLEX::toCLEX | ( | const string & | s | ) |
convert a string to a CLEX::Type
s | a string |
std::string CLEX::toString | ( | const Type & | t | ) |
convert a CLEX::Type to a string
t | a CLEX::Type value |
const string CLEX::empty = "" |
const map<char,string> CLEX::iNames |
a hardcodes table with a mapping from inflection codes to a readable string
const map<CLEX::Type,string> CLEX::tagNames |
a harcoded table with a mapping for CLEX::Type to a description