You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 rivejä
1.1 KiB

  1. /*!
  2. * Lunr languages, `Vietnamese` language
  3. * https://github.com/MihaiValentin/lunr-languages
  4. *
  5. * Copyright 2017, Keerati Thiwanruk
  6. * http://www.mozilla.org/MPL/
  7. */
  8. /*!
  9. * based on
  10. * Snowball JavaScript Library v0.3
  11. * http://code.google.com/p/urim/
  12. * http://snowball.tartarus.org/
  13. *
  14. * Copyright 2010, Oleg Mazko
  15. * http://www.mozilla.org/MPL/
  16. */
  17. !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.vi=function(){this.pipeline.reset(),this.pipeline.add(e.vi.stopWordFilter,e.vi.trimmer)},e.vi.wordCharacters="[A-Za-ẓ̀͐́͑̉̃̓ÂâÊêÔôĂ-ăĐ-đƠ-ơƯ-ư]",e.vi.trimmer=e.trimmerSupport.generateTrimmer(e.vi.wordCharacters),e.Pipeline.registerFunction(e.vi.trimmer,"trimmer-vi"),e.vi.stopWordFilter=e.generateStopWordFilter("là cái nhưng mà".split(" "))}});