Following discussion from #30
The wrapper around the snowball stemmer is hard-coded to english. Quite some
flexibility could be gained by offering the ability to specify a different language
supported natively by the snowball-project. Obviously english should be the default.
From the top of my head:
Something along the lines of:
let index = noise.open("myindex", true, { "lang": "german" });
Most use cases should operate on a single language, so multi-language support
shouldn't be an issue.
Following discussion from #30
The wrapper around the snowball stemmer is hard-coded to english. Quite some
flexibility could be gained by offering the ability to specify a different language
supported natively by the snowball-project. Obviously english should be the default.
From the top of my head:
Something along the lines of:
let index = noise.open("myindex", true, { "lang": "german" });Most use cases should operate on a single language, so multi-language support
shouldn't be an issue.