A stemmer library for D programming language
To use this package, put the following dependency into your project's dependencies section:
A stemmer library for D programming language. It implements the Porter Stemming Algorithm and it's tested against the Snowball examples.
It contains only an english stemmer but support for other languages will be added in the future.
import valley.stemmer.english; import valley.stemmer.cleaner; auto stemmer = new EnStemmer; auto result = "knightly consolingly zoology kinkajou".clean.split(" ").map!(a => stem.get(a)).array; writeln(result);
Running the tests
The tests are implemented using the trial test runner. After installing it, you can just run the trial command:
- Registered by Szabo Bogdan
- 0.1.0 released a year ago
- Copyright © 2018, Bogdan Szabo