lunr.de.js - A German language extension for lunr.js
lunr.js is a simple text search engine implemented in JavaScript. lunr.de.js adds a German stop word filter and stemmer to the lunr.js pipeline, thus making text search more robust for German content.
Include the plugin into a lunr index using lunr.Index.prototype.use
.
This plugin will replace the default stopword filter and stemmer with
a German language specifc filter and stemmer.
Example:
var index = lunr(function() {
this.use(lunr.de);
this.field("title", 10);
this.field("body");
});
- The list of German stop words has been downladed from brenes's stopwords-filter repository.
- The German stemmer implementation is due to Joder Illi.