Struct conllx::Reader
[−]
[src]
pub struct Reader<R> { /* fields omitted */ }
A reader for CoNLL-X sentences.
Methods
impl<R: BufRead> Reader<R>
[src]
fn new(read: R) -> Reader<R>
Construct a new reader from an object that implements the
io::BufRead
trait.
Trait Implementations
impl<R: BufRead> IntoIterator for Reader<R>
[src]
type Item = Result<Sentence>
The type of the elements being iterated over.
type IntoIter = Sentences<Reader<R>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more