Debian Codegraph @

tests/js/language_data.js

raw
1 /*
2 * This script contains the language-specific data used by searchtools.js,
3 * namely the list of stopwords, stemmer, scorer and splitter.
4 */
5
6 const stopwords = new Set([]);
7 window.stopwords = stopwords; // Export to global scope
8
9 /* Non-minified versions are copied as separate JavaScript files, if available */
10
11 /**
12 * Dummy stemmer for languages without stemming rules.
13 */
14 var Stemmer = function () {
15 this.stemWord = function (w) {
16 return w;
17 };
18 };