stemmer 0.3.0

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 Build Status

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
Authors:
  • Bogdan Szabo
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
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 3 downloads this week

  • 18 downloads this month

  • 1418 downloads total

Score:
0.9
Short URL:
stemmer.dub.pm