MihaiValentin / lunr-languages

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

Update lunr.vi.js #113

Open brianhuster opened 3 months ago

brianhuster commented 3 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)).