Tanl Linguistic Pipeline

Tanl::AttributeIndex Struct Reference
[ClassifierDependency Parser]

Associates to an attribute name the index of its value in a attribute vector. More...

#include <Token.h>

Inheritance diagram for Tanl::AttributeIndex:
Tanl::Text::WordIndex Tanl::Text::WordIndex Tanl::unordered_map< const char *, unsigned, hash< const char * >, eqstr > Tanl::unordered_map< const char *, unsigned, hash< const char * >, eqstr >

List of all members.

Public Member Functions

AttributeId insert (const char *name)
 Inserts a key in the index.
AttributeIndexoperator= (AttributeIndex const &ai)
AttributeId insert (const char *name)
 Inserts a key in the index.
AttributeIndexoperator= (AttributeIndex const &ai)

Public Attributes

std::vector< char const * > names

Detailed Description

Associates to an attribute name the index of its value in a attribute vector.


Member Function Documentation

AttributeId Tanl::AttributeIndex::insert ( const char *  name  ) 

Inserts a key in the index.

Returns:
the AttributeId for the key.
AttributeId Tanl::AttributeIndex::insert ( const char *  name  )  [inline]

Inserts a key in the index.

Returns:
the AttributeId for the key.

Referenced by Tanl::Corpus::attributeId(), Tanl::Attributes::insert(), Tanl::POS::PosTaggerPipe::MoveNext(), and Tanl::MorphStream::MoveNext().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.