Wiredcraft / lunr-chinese

Lunr.js support library for Chinese
MIT License
38 stars 10 forks source link

Lunr Languages intergration #4

Open iwarner opened 6 years ago

iwarner commented 6 years ago

Hiya

I think this project would be better server as a plugin for https://github.com/MihaiValentin/lunr-languages/

You can then utilise the power of Lunr 2+ and provide the tokenisation and stemmer required for Chinese. There is already a Japanese version on lunr languages and I know people are after chinese

Tokeniszer https://github.com/yishn/chinese-tokenizer

Others http://linfuyan.com/add-chinese-support-to-lunrjs/ https://www.ranks.nl/stopwords/chinese-stopwords

Would be great to assist on this as I need for my website also

ole3021 commented 6 years ago

Hi @iwarner

Thanks for the info, and it is the best way to integrate with Lunr.js. I have already put it into my to-do list, hope it won't take too long :p

repairearth commented 5 years ago

Hi @ole3021

Is there any update on this topic?

kunhai-88 commented 5 years ago

use this https://github.com/repairearth/lunr-languages