ephemeralin / mystem-simple-wrapper

Simple Java wrapper for Yandex MyStem (morphological analysis for Russian text)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mystem-simple-wrapper

Build Status codecov License: MIT

Simple Java wrapper for Yandex MyStem (morphological analysis for Russian text). It enables integration with the excellent tool from within a Java application and allows you to work with the console MyStem tool in a object-oriented way.

Usage example

Options options = new Options()
        .setOutputFormat(Options.OutputFormatType.JSON)
            .setPrintGramInfo(false)
            .setPrintWeight(true)
            .setPrintAllSuggestions(true);
        Stemmer stemmer = new Stemmer(options);
        List<Word> results = stemmer.stem(
                "Глокая куздра штеко будланула бокра и курдячит бокрёнка.");

License

Mystem Simple Wrapper is licensed under MIT License.

About

Simple Java wrapper for Yandex MyStem (morphological analysis for Russian text)

License:MIT License


Languages

Language:Java 100.0%