| Tanl Linguistic Pipeline |
An Enumerator<Event*> extracting features from a sentence. More...
#include <SstEventStream.h>
Public Member Functions | |
| SstEventStream (Resources &resources) | |
| void | analyze (Sentence *sent, int zone=3) |
| Set the sentence to analyze. | |
| bool | hasNext () |
| Classifier::Event * | next () |
| 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. | |
An Enumerator<Event*> extracting features from a sentence.
| 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] |
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] |
Start new document.
References Tanl::SST::SstFeatureExtractor::reset().
Referenced by Tanl::SST::SSTPipe::MoveNext(), and Tanl::SST::SST::train().