Trait conllx::WriteSentence
[−]
[src]
pub trait WriteSentence { fn write_sentence(&mut self, sentence: &Sentence) -> Result<(), Error>; }
A trait for objects that can write CoNLL-X Sentence
s.
Required Methods
fn write_sentence(&mut self, sentence: &Sentence) -> Result<(), Error>
Write a Sentence
into this object.
Errors
A call to write_sentence
may generate an error to indicate that
the operation could not be completed.
Implementors
impl<W: Write> WriteSentence for Writer<W>
impl<W> WriteSentence for PartitioningWriter<W> where W: WriteSentence