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

Methods

impl<W> PartitioningWriter<W> where
    W: WriteSentence
[src]

Trait Implementations

impl<W> WriteSentence for PartitioningWriter<W> where
    W: WriteSentence
[src]

Write a Sentence into this object. Read more