1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#[macro_use]
extern crate failure;

extern crate itertools;

extern crate lazy_init;

extern crate petgraph;

mod error;
pub use error::{GraphError, ReadError};

mod features;
pub use features::Features;

mod graph;
pub(crate) use graph::BfsWithDepth;

mod proj;
pub use proj::{Deprojectivize, HeadProjectivizer, Projectivize};

#[cfg(test)]
pub(crate) use proj::{non_projective_edges, sentence_to_graph};

mod reader;
pub use reader::{ReadSentence, Reader, Sentences};

mod token;
pub use token::{DisplaySentence, Sentence, Token, TokenBuilder};

mod writer;
pub use writer::{PartitioningWriter, WriteSentence, Writer};

#[cfg(test)]
mod tests;

#[cfg(test)]
#[macro_use]
extern crate lazy_static;

#[cfg(test)]
#[macro_use]
extern crate maplit;

#[cfg(test)]
#[macro_use]
extern crate pretty_assertions;

#[cfg(test)]
#[macro_use]
extern crate quickcheck;