MihaiValentin / lunr-languages

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

Update lunr.vi.js #113

Open brianhuster opened 6 months ago

brianhuster commented 6 months ago

I have fixed the warning Function is not registered with pipeline. This may cause problems when serialising the index. by adding the line

lunr.Pipeline.registerFunction(lunr.vi.stopWordFilter, 'stopWordFilter-vi');

Also, I have updated the stopwords with more words and remove a word ("là", which I think can be confuse with "bàn là" (flat iron)).