Popularity
6.9
Declining
Activity
0.0
Stable
133
2
6

Monthly Downloads: 450
Programming language: Elixir
License: MIT License
Tags: Text And Numbers    

stemmer alternatives and similar packages

Based on the "Text and Numbers" category

Do you think we are missing an alternative of stemmer or a related project?

Add another 'Text and Numbers' Package

README

Stemmer Travis Coverage Hex.pm

An English (Porter2) stemming implementation in Elixir.

In linguistic morphology and information retrieval, stemming is the process of reducing inflected (or sometimes derived) words to their word stem, base or root form—generally a written word form. The stem need not be identical to the morphological root of the word; it is usually sufficient that related words map to the same stem, even if this stem is not in itself a valid root. - Wikipedia

Usage

The Stemmer.stem/1 function supports stemming a single word (String), a sentence (String) or a list of single words (List of Strings).

Stemmer.stem("capabilities")                    # => "capabl"
Stemmer.stem("extraordinary capabilities")      # => "extraordinari capabl"
Stemmer.stem(["extraordinary", "capabilities"]) # => ["extraordinari", "capabl"]

Compatibility

Stemmer is 100% compatible with the official Porter2 implementation, it is tested against the official diffs.txt which contains more than 29000 words.

Naive Bayes

Stemmer was built to support the Simple Bayes library. :heart:

License

Licensed under MIT.


*Note that all licence references and agreements mentioned in the stemmer README section above are relevant to that project's source code only.