<commit_before>h1. Morphology Analysis Plugin for ElasticSearch

The Morphology Analysis plugin integrates Russian and English <a href="http://code.google.com/p/russianmorphology/">morphology analysis module</a> into elasticsearch. This plugin adds two new analyzers: "russian_morphology" and "english_morphology" and two token filters with the same names.

The <a href="https://github.com/imotov/elasticsearch-analysis-morphology/blob/master/demo.sh">demo.sh</a> file shows a few examples of the analyzers behavior.

h2. Compatibility

The following table shows the versions of elasticsearch and jetty that Jetty Plugin was built with. 

|_. Morphology Analysis Plugin |_.  Elasticsearch    |
| master        | 0.19 -> master   |


h2. Installation

In order to install the plugin, simply run the following command in the elasticsearch home directory: 

<pre>
bin/plugin -install imotov/elasticsearch-analysis-morphology/1.0.0-SNAPSHOT
</pre>
<commit_msg>change plugin name<commit_after>h1. Morphological Analysis Plugin for ElasticSearch

The Morphological Analysis plugin integrates <a href="http://code.google.com/p/russianmorphology/">Russian and English morphology for java and lucene 3.0 framework</a> into elasticsearch. This plugin adds two new analyzers: "russian_morphology" and "english_morphology" and two token filters with the same names.

The <a href="https://github.com/imotov/elasticsearch-analysis-morphology/blob/master/demo.sh">demo.sh</a> file shows a few examples of the analyzers behavior.

h2. Compatibility

The following table shows the versions of elasticsearch and jetty that Jetty Plugin was built with. 

|_. Morphological Analysis Plugin |_.  Russian and English morphology   |_.  Elasticsearch    |
| master        | 1.1-SNAPSHOT   | 0.19 -> master   |
| 1.0.0-SNAPSHOT      | 1.1-SNAPSHOT   | 0.19 -> master   |


h2. Installation

In order to install the plugin, simply run the following command in the elasticsearch home directory: 

<pre>
bin/plugin -install imotov/elasticsearch-analysis-morphology/1.0.0-SNAPSHOT
</pre>

{'fraction_non_alphanumeric': 0.08547838756677999, 'fraction_numerical': 0.014570179698882952, 'mean_word_length': 4.309278350515464, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 18, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5849751', 'n_tokens_mistral': 634, 'n_tokens_neox': 613, 'n_words': 209}