Tanl Linguistic Pipeline

Tanl::MorphPyPipe Struct Reference

A pipe that tags sentences from a Python iterator. More...

#include <PyPipe.h>

Inheritance diagram for Tanl::MorphPyPipe:
Tanl::Enumerator< std::vector< Token * > * > Tanl::Disposable Tanl::Disposable

List of all members.

Public Member Functions

 MorphPyPipe (MorphSplitter &splitter, PyObject *pit)
 Use a Python enumerator pit as source of sentences.
bool MoveNext ()
 Advances to the next element of the collection.
std::vector< Token * > * Current ()

Detailed Description

A pipe that tags sentences from a Python iterator.


Constructor & Destructor Documentation

Tanl::MorphPyPipe::MorphPyPipe ( MorphSplitter splitter,
PyObject *  pit 
)

Use a Python enumerator pit as source of sentences.


Member Function Documentation

Sentence * Tanl::MorphPyPipe::Current (  )  [virtual]
Returns:
the current element.

Implements Tanl::Enumerator< std::vector< Token * > * >.

bool Tanl::MorphPyPipe::MoveNext (  )  [virtual]

Advances to the next element of the collection.

Returns:
true if there is another item available.

Implements Tanl::Enumerator< std::vector< Token * > * >.


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