Functional interface for extractors of morphological features.
More...
#include <Language.h>
List of all members.
Public Member Functions |
| Language (char const *v="VB", char const *n="NN", char const *p="IN") |
virtual bool | rootPos (std::string const &pos) const |
| Used to identify possible root node in a disconnected tree.
|
virtual char const * | rootLabel () const |
char const * | code () const |
virtual bool | numbAgree (char x, char y) const |
virtual bool | gendAgree (char x, char y) const |
virtual bool | morphoLeft (std::string const &pos) const |
virtual bool | morphoRight (std::string const &pos) const |
| Language (char const *v="VB", char const *n="NN", char const *p="IN") |
virtual bool | rootPos (std::string const &pos) const |
| Used to identify possible root node in a disconnected tree.
|
virtual char const * | rootLabel () const |
char const * | code () const |
virtual bool | numbAgree (char x, char y) const |
virtual bool | gendAgree (char x, char y) const |
virtual bool | morphoLeft (std::string const &pos) const |
virtual bool | morphoRight (std::string const &pos) const |
Static Public Member Functions |
static Language const * | get (char const *code) |
static Language const * | get (char const *code) |
Public Attributes |
char const * | verbCPos |
| Coarse POS of verbs.
|
char const * | nounCPos |
| Coarse POS of nouns.
|
char const * | prepCPos |
| Coarse POS of prepositions.
|
char const * | timeDep |
| Dependency label for time complement.
|
char const * | locDep |
| Dependency label for location complement.
|
bool | hasPostpositions |
| For languages using postpositions.
|
MorphExtractor * | morphExtractor |
Detailed Description
Functional interface for extractors of morphological features.
Member Function Documentation
char const* Tanl::Language::code |
( |
|
) |
const |
- Returns:
- the ISO-639 language code for the language.
char const * Tanl::Language::code |
( |
|
) |
const |
- Returns:
- the ISO-639 language code for the language.
virtual bool Tanl::Language::gendAgree |
( |
char |
x, |
|
|
char |
y | |
|
) |
| | const [inline, virtual] |
virtual bool Tanl::Language::gendAgree |
( |
char |
x, |
|
|
char |
y | |
|
) |
| | const [inline, virtual] |
static Language const* Tanl::Language::get |
( |
char const * |
code |
) |
[static] |
- Returns:
- the
Language
associated to the ISO-639 code
.
Language const * Tanl::Language::get |
( |
char const * |
code |
) |
[static] |
- Returns:
- the
Language
associated to the ISO-639 code
.
virtual bool Tanl::Language::morphoLeft |
( |
std::string const & |
pos |
) |
const [inline, virtual] |
- Returns:
- true if
pos
has left concordance valence
virtual bool Tanl::Language::morphoLeft |
( |
std::string const & |
pos |
) |
const [inline, virtual] |
virtual bool Tanl::Language::morphoRight |
( |
std::string const & |
pos |
) |
const [inline, virtual] |
virtual bool Tanl::Language::morphoRight |
( |
std::string const & |
pos |
) |
const [inline, virtual] |
virtual bool Tanl::Language::numbAgree |
( |
char |
x, |
|
|
char |
y | |
|
) |
| | const [inline, virtual] |
virtual bool Tanl::Language::numbAgree |
( |
char |
x, |
|
|
char |
y | |
|
) |
| | const [inline, virtual] |
The documentation for this struct was generated from the following files: