AD_token::Token Class Reference

Inheritance diagram for AD_token::Token:

acronymDecomposer::Acro List of all members.

Public Member Functions

def __init__
def __str__
def tagTextWithMT

Public Attributes

 token
 tag
 tagSetDict

Detailed Description

   class Token
       argunets:
       token: the token
       tag: the part-of-speech tag
       tagSetDict: dictionary for some important tags
    

Definition at line 9 of file AD_token.py.


Member Function Documentation

def AD_token::Token::__init__ (   self,
  token,
  tag 
)

Definition at line 13 of file AD_token.py.

def AD_token::Token::__str__ (   self  ) 

Representation from Acro for printing.

Reimplemented in acronymDecomposer::Acro.

Definition at line 25 of file AD_token.py.

def AD_token::Token::tagTextWithMT (   self,
  text 
)

The input text is tokenized and tagged using the Penn-Treebank Tag Set.

Returns list of tokens.

Definition at line 31 of file AD_token.py.


Member Data Documentation

AD_token::Token::tag

Definition at line 17 of file AD_token.py.

AD_token::Token::tagSetDict

Definition at line 18 of file AD_token.py.

AD_token::Token::token

Definition at line 16 of file AD_token.py.


The documentation for this class was generated from the following file:
Generated on Fri Aug 11 17:55:37 2006 for AcronymDecomposer by  doxygen 1.4.7