DeSR Dependency Parser

Parser::PosTagger Struct Reference

Base class for POS taggers. More...

#include <PosTagger.h>

Inheritance diagram for Parser::PosTagger:

Inheritance graph
Collaboration diagram for Parser::PosTagger:

Collaboration graph

List of all members.

Public Member Functions

 PosTagger (const char *PosParameters)
 Argument.
virtual bool tag (Tagged &sentence)
 Perform POS tagging on the sentence represented by the words in.

Public Attributes

WordSet tags
 Set of tags used.


Detailed Description

Base class for POS taggers.

Definition at line 59 of file PosTagger.h.


Constructor & Destructor Documentation

Parser::PosTagger::PosTagger ( const char *  PosParameters  ) 

Argument.

Stub version of PosTagger, to replace the real PosTagger when not needed.

Parameters:
PosParameters is the name of the parameter file to be used by the tagger, and produced by training the tagger on an annotated corpus.

Definition at line 32 of file PosTagger.cpp.

References tags.


Member Function Documentation

bool Parser::PosTagger::tag ( Tagged &  sentence  )  [virtual]

Perform POS tagging on the sentence represented by the words in.

Parameters:
sentence,and fill in the corresponding tags and lemmas
Returns:
true if tagging succeded.

Definition at line 41 of file PosTagger.cpp.


The documentation for this struct was generated from the following files:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.