MihaiValentin / lunr-languages

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

jp plugin doesn't support umd #26

Closed yoshidax closed 7 years ago

yoshidax commented 7 years ago

Since /tinyseg.js related to Japanese plugin does not support umd, it can not be used with node.js or require.js.

I fixed this problem, so I will pull the request. 😃

MihaiValentin commented 7 years ago

Thanks for the MR.

One question though. Does Japanese language support stemming? I noticed you added a TODO for the stemmer.

Please let me know so I can update my readme file accordingly.

Thanks!

yoshidax commented 7 years ago

@MihaiValentin

I have not added TODO, but as far as I confirm, the Japanese stemmer implementation of JavaScript does not seem to exist.

Still, Japanese plugins work as smoothly as it is. 😊

Tokenizer may be playing the role of stemmer, but I am not an expert on natural language processing, so I do not know the details.

I think that TODO comments should be deleted.

MihaiValentin commented 7 years ago

@yoshidax, thanks for the input!

I am glad the Japanese plugin works smooth and I'll keep it like this for now.