DeSR Dependency Parser

Tanl::Language Struct Reference

Functional interface for extractors of morphological features. More...

#include <Language.h>

Inheritance diagram for Tanl::Language:

Inheritance graph
Collaboration diagram for Tanl::Language:

Collaboration graph

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.
char const * code () const

Static Public Member Functions

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.
MorphExtractormorphExtractor

Static Public Attributes

static char const * DEFAULT_ROOT_LABEL = "ROOT"


Detailed Description

Functional interface for extractors of morphological features.

Definition at line 34 of file Language.h.


Member Function Documentation

char const * Tanl::Language::code (  )  const

Returns:
the ISO-639 language code for the language.

Definition at line 70 of file Language.cpp.

Language const * Tanl::Language::get ( char const *  code  )  [static]

Returns:
the Language associated to the ISO-639 code.

Definition at line 62 of file Language.cpp.


The documentation for this struct was generated from the following files:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.