stemmer ~master
A stemmer library for D programming language
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Stemmer
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.
Example
import stemmer.english;
import 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:
trial
- Registered by Szabo Bogdan
- ~master released a year ago
- gedaiu/stemmer
- MIT
- Copyright © 2018-2023, Bogdan Szabo
- Authors:
- Dependencies:
- none
- Versions:
-
0.3.0 2023-Jan-30 0.2.0 2023-Jan-20 0.1.0 2018-Mar-21 ~master 2023-Jan-30 - Download Stats:
-
-
0 downloads today
-
18 downloads this week
-
27 downloads this month
-
1445 downloads total
-
- Score:
- 1.2
- Short URL:
- stemmer.dub.pm