My Project
 All Classes Namespaces Functions Pages
Public Member Functions | Friends | List of all members
NLP::Word Class Reference

A Class to store token and its corresponding tags and definitions. More...

#include <word.h>

Inheritance diagram for NLP::Word:
Token

Public Member Functions

 Word (const Token &other, set< WordType > tags, set< string > defs=set< string >())
 
 Word (const Word &other)
 
Wordoperator= (const Word &newToken)
 
 ~Word ()
 Do nothing.
 
string getName () const
 
set< WordType > getTypes () const
 
string getRawtypes () const
 
set< string > getDefinitions () const
 
- Public Member Functions inherited from Token
 Token (const Token &other)
 
 Token (string s, TokenType type)
 Constructor for Token. More...
 
 Token (char ch, TokenType type)
 
TokenType getType () const
 
string getTokenString () const
 
Tokenoperator= (const Token &newToken)
 
const string & operator* ()
 

Friends

ostream & operator<< (ostream &outs, const Word &w)
 

Additional Inherited Members

- Protected Attributes inherited from Token
string mTokenString
 
TokenType mType
 

Detailed Description

A Class to store token and its corresponding tags and definitions.

Parameters
public

The documentation for this class was generated from the following files: