Tanl Linguistic Pipeline

Tanl::SST::SstEventStream Class Reference

An Enumerator<Event*> extracting features from a sentence. More...

#include <SstEventStream.h>

Inheritance diagram for Tanl::SST::SstEventStream:
Tanl::Classifier::EventStream Tanl::Iterator< Event * >

List of all members.

Public Member Functions

 SstEventStream (Resources &resources)
void analyze (Sentence *sent, int zone=3)
 Set the sentence to analyze.
bool hasNext ()
Classifier::Eventnext ()
 Builds up the list of predicates for the current sentence position.
void reset ()
 Start new document.
void predicted (char const *sstag, int position=-1)
 Set predicted tag.

Detailed Description

An Enumerator<Event*> extracting features from a sentence.


Member Function Documentation

void Tanl::SST::SstEventStream::analyze ( Sentence sent,
int  zone = 3 
) [inline]

Set the sentence to analyze.

References Tanl::SST::SstFeatureExtractor::analyze().

Referenced by Tanl::SST::SSTPipe::Current(), and Tanl::SST::SST::train().

bool Tanl::SST::SstEventStream::hasNext (  )  [virtual]
Returns:
true if there is another item available

Implements Tanl::Iterator< Event * >.

Referenced by Tanl::SST::SSTPipe::Current().

void Tanl::SST::SstEventStream::predicted ( char const *  sstag,
int  position = -1 
)

Set predicted tag.

References Tanl::SST::SstFeatureExtractor::classified().

Referenced by Tanl::SST::SSTPipe::Current().

void Tanl::SST::SstEventStream::reset (  )  [inline]

The documentation for this class 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.