stemmer 0.1.0

A stemmer library for D programming language


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

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 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:

trial
Authors:
  • Bogdan Szabo
Dependencies:
none
Versions:
0.1.0 2018-Mar-21
~master 2018-Mar-21
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 2 downloads total

Score:
0.0
Short URL:
stemmer.dub.pm