Adding a language to pystemmer

I would like to use pystemmer with whoosh , but there is no support for my language.

I found two snowball files for my language ( Snowball ), and I made * .c files from them, as recommended.

Now I would like to include * .c files in pystemmer. I added them to the source code, iI edited all the files in which I found the link / list of language files, but after installing pystemmer (from the source) I still cannot use my language - it is not in the list of Stemmer.algorithms() .

What am I doing wrong?

+4
source share

Source: https://habr.com/ru/post/1441135/


All Articles