Tanl Linguistic Pipeline

Tanl::TokenSentenceReader Class Reference
[Dependency Parser]

Read a text split into space-separated tokens, one sentence per line, and iterate over it returning one sentence at time. More...

#include <SentenceReader.h>

Inheritance diagram for Tanl::TokenSentenceReader:
Tanl::SentenceReader Tanl::Enumerator< Sentence * > Tanl::Enumerator< Sentence * > Tanl::Disposable Tanl::Disposable Tanl::Disposable Tanl::Disposable

List of all members.

Public Member Functions

 TokenSentenceReader (std::istream *is, Corpus *corpus=0)
 Creates a new TokenSentenceReader.
bool MoveNext ()
 Return true if there is another sentence available.

Detailed Description

Read a text split into space-separated tokens, one sentence per line, and iterate over it returning one sentence at time.


Constructor & Destructor Documentation

Tanl::TokenSentenceReader::TokenSentenceReader ( std::istream *  is,
Corpus corpus = 0 
)

Creates a new TokenSentenceReader.

Parameters:
filename the file containing the annotated sentences

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.