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 Sentence
s
Required Methods
fn read_sentence(&mut self) -> Result<Option<Sentence>>
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
fn sentences(self) -> Sentences<Self> where
Self: Sized,
Self: Sized,
Get an iterator over the sentences in this reader.