Tanl Linguistic Pipeline |
Associates to an attribute name the index of its value in a attribute vector. More...
#include <Token.h>
Public Member Functions | |
AttributeId | insert (const char *name) |
Inserts a key in the index. | |
AttributeIndex & | operator= (AttributeIndex const &ai) |
AttributeId | insert (const char *name) |
Inserts a key in the index. | |
AttributeIndex & | operator= (AttributeIndex const &ai) |
Public Attributes | |
std::vector< char const * > | names |
Associates to an attribute name the index of its value in a attribute vector.
AttributeId Tanl::AttributeIndex::insert | ( | const char * | name | ) |
Inserts a key in the index.
AttributeId Tanl::AttributeIndex::insert | ( | const char * | name | ) | [inline] |
Inserts a key in the index.
Referenced by Tanl::Corpus::attributeId(), Tanl::Attributes::insert(), Tanl::POS::PosTaggerPipe::MoveNext(), and Tanl::MorphStream::MoveNext().