MihaiValentin / lunr-languages

A collection of languages stemmers and stopwords for Lunr Javascript library
Other
431 stars 163 forks source link

Another language #4

Closed mobinseven closed 9 years ago

mobinseven commented 9 years ago

Please provide some help on creating stemmer for another language. I want to create one for Persian (Farsi). I don't know where to start.

MihaiValentin commented 9 years ago

Hi,

As stated in the readme file, lunr-languages just adapts already existing stemmers from Snowball-JS (https://github.com/fortnightlabs/snowball-js), which is based on Snowball stemmers (http://snowball.tartarus.org/texts/stemmersoverview.html).

I guess you would have to start there, and after you create a js stemmer in their repository, I can add it to the list of supported languages for lunr.js