DeSR Dependency Parser

Tanl::TokenSentenceReader Class Reference

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:

Inheritance graph
Collaboration diagram for Tanl::TokenSentenceReader:

Collaboration graph

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.

Definition at line 119 of file SentenceReader.h.


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:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.