Tanl Linguistic Pipeline |
Pipe connected to a sentence enumerator. More...
#include <NER.h>
Public Member Functions | |
NerPipe (NER &ner, Enumerator< std::vector< Token * > * > &se) | |
Create a pipe pulling from a sentence Enumerator se . | |
void | Dispose () |
This is to be called by SWIG when releasing the object. | |
bool | MoveNext () |
Advances to the next sentence. | |
std::vector< Token * > * | Current () |
Pipe connected to a sentence enumerator.
Tanl::NER::NerPipe::NerPipe | ( | NER & | ner, | |
Enumerator< std::vector< Token * > * > & | se | |||
) |
Create a pipe pulling from a sentence Enumerator se
.
vector< Token * > * Tanl::NER::NerPipe::Current | ( | ) | [virtual] |
Implements Tanl::Enumerator< std::vector< Token * > * >.
void Tanl::NER::NerPipe::Dispose | ( | ) | [virtual] |
This is to be called by SWIG when releasing the object.
Release the NER object and then call destructor.
Reimplemented from Tanl::Disposable.
bool Tanl::NER::NerPipe::MoveNext | ( | ) | [virtual] |
Advances to the next sentence.
Implements Tanl::Enumerator< std::vector< Token * > * >.
References Tanl::Enumerator< T >::Current(), Tanl::Enumerator< T >::MoveNext(), and Tanl::NER::NerEventStream::reset().