Perl6 binding for the "Snowball compiler" http://snowballstem.org/
Other
Switch branches/tags
Nothing to show
Latest commit f552a7e Mar 31, 2016 @Sufrostico Update README.md
Permalink
Failed to load latest commit information.
lib/Lingua/Stem Fix of cyrillic problem. Mar 22, 2016
t Fix broken tests Mar 28, 2016
.gitignore Modify gitignore file Feb 23, 2016
.travis.yml
CONTRIBUTORS.md
LICENSE Initial commit Feb 19, 2016
META6.json Renaming of META.info to META6.json accordingly to new ecosystem policy. Mar 21, 2016
README.md

README.md

Lingua::Stem::Snowball Build Status

Perl6 binding for the "Snowball compiler" http://snowballstem.org/

Status: ALPHA

  • No Snowball code shipped, you need to install it from its own repo.
  • NativeCalls are implemented to emulate the libstemmer.h file.
  • Only the load and sb_stemmer_stem tests are implemented.
  • NEED ASAP lots and lots of tests.

Functions working

  • sb_stemmer_list() returns CArray[Str]
  • sb_stemmer_new(Str, Str) returns sb_stemmer
  • sb_stemmer_delete(sb_stemmer)
  • sb_stemmer_stem(sb_stemmer, Str, int32 ) returns CArray[uint8]
  • sb_stemmer_length(sb_stemmer) returns int32

TODO

Installation

  1. You need to install the libstemmer.so shared library from this repository Sufrostico/snowball because the patch to generate the shared library has not been a accepted yet.

    To install the library

    $ git clone git@github.com:Sufrostico/snowball.git sufrostico-snowball
    $ cd sufrostico-snowball
    $ make

Then as root install the .h (usr/include) and .so (user/lib) files.

    # make install_shared_library
  1. Install this module
    $ git clone git@github.com:Sufrostico/perl6-snowball.git
    $ cd perl6-snowball
    $ panda install .

Contributors