Trait conllx::ReadSentence [] [src]

pub trait ReadSentence {
    fn read_sentence(&mut self) -> Result<Option<Sentence>>;

    fn sentences(self) -> Sentences<Self>
    where
        Self: Sized
, { ... } }

A trait for objects that can read CoNLL-X Sentences

Required Methods

Read a Sentence from this object.

Errors

A call to read_sentence may generate an error to indicate that the operation could not be completed.

Provided Methods

Get an iterator over the sentences in this reader.

Implementors