yeraydiazdiaz / lunr.py

A Python implementation of Lunr.js 🌖
http://lunr.readthedocs.io
MIT License
187 stars 16 forks source link

Any chance to support 'zh' (Chinese) language? (maybe I could help) #128

Closed huanlin closed 1 year ago

huanlin commented 1 year ago

Hi, I'm using Mkdocs with mkdocs-static-i18n plugin, and I found language zh doesn't work because Lunr does not support it. Any chance to add zh ? If not too difficult, maybe I could help. (I'm not a Python guy, but I would try my best)

yeraydiazdiaz commented 1 year ago

Hi @huanlin, as stated in the README lunr.py language support depends on the NTLK stemmers which do not support Chinese at the moment. If they ever do I would consider a PR for adding said support.