Tanl Linguistic Pipeline

Tanl::POS::Lexicon Struct Reference

A Lexicon stores the possible tags of each word in the training corpus, with their frequency. More...

#include <lexicon.h>

List of all members.

Public Member Functions

void add (std::string &word, TagID tag)
std::vector< TagID > * find_nofreq (std::string &w)
void serialize (std::ostream &)
void serialize (std::istream &)

Detailed Description

A Lexicon stores the possible tags of each word in the training corpus, with their frequency.

A word shouldn't have too many possible tags, so we store these in a simple vector.


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.