Struct conllx::PartitioningWriter
[−]
[src]
pub struct PartitioningWriter<W> where W: WriteSentence { /* fields omitted */ }
A writer for CoNLL-X sentences that partitions incoming objects among multiple writers.
For example, suppose that a PartitioningWriter
is wraps writers
w1, w2, and sentences s_[1-5]$ are written. The sentences are then
written as follows:
- s1 -> w1
- s2 -> w2
- s3 -> w1
- s4 -> w2
- s5 -> w1