Trait Projectivize

Source
pub trait Projectivize {
    // Required method
    fn projectivize(&self, sentence: &mut Sentence) -> Result<(), Error>;
}
Expand description

Graph projectivizer.

Required Methods§

Source

fn projectivize(&self, sentence: &mut Sentence) -> Result<(), Error>

Projectivize a graph

This method rewrites a non-projective graph into a projective graph. Depending on the projectivizer, this may add additional information to the dependency labels to undo the projectivization later.

Implementors§