opencorpora 0.2.0

Reading and parsing opencorpora.org XML-dictionary.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error_chain! {
    links {
        XmlError(::quick_xml::errors::Error, ::quick_xml::errors::ErrorKind);
    }

    foreign_links {
        Utf8Error(::std::str::Utf8Error);
        ParseIntError(::std::num::ParseIntError);
    }

    errors {
        ParsingError(err: String) {
            description("XML dictionary parsing error"),
            display("XML dictionary parsing error: {}", err),
        }
    }
}