Tanl Linguistic Pipeline |
A pipe that parses sentences from a stream of sentences. More...
#include <Parser.h>
Public Member Functions | |
ParserSentPipe (Parser &parser, Enumerator< Sentence * > &tve) | |
bool | MoveNext () |
Advances to the next element of the collection. | |
Sentence * | Current () |
void | Dispose () |
This is to be called by SWIG when releasing the object. |
A pipe that parses sentences from a stream of sentences.
Sentence * Parser::ParserSentPipe::Current | ( | ) | [virtual] |
Implements Tanl::Enumerator< Sentence * >.
References Tanl::Enumerator< T >::Current(), and Parser::Parser::parse().
void Parser::ParserSentPipe::Dispose | ( | ) | [virtual] |
This is to be called by SWIG when releasing the object.
Release the parser object and then call destructor.
Reimplemented from Tanl::Disposable.
bool Parser::ParserSentPipe::MoveNext | ( | ) | [virtual] |
Advances to the next element of the collection.
Implements Tanl::Enumerator< Sentence * >.
References Tanl::Enumerator< T >::MoveNext().