Trait Deprojectivize

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

Graph deprojectivizer.

Required Methods§

Source

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

Deprojectivize a graph

This method rewrites a projective graph into a non-projective graph. Depending on the (de)projectivizer, this could require additional information in dependency labels to guide the deprojectivization.

Implementors§