7 lines
7.3 KiB
Text
Executable file
7 lines
7.3 KiB
Text
Executable file
{
|
|
"version": 3,
|
|
"sources": ["../../node_modules/lunr-languages/lunr.ta.js"],
|
|
"sourcesContent": ["/*!\n * Lunr languages, `Tamil` language\n * https://github.com/tvmani/lunr-languages\n *\n * Copyright 2021, Manikandan Venkatasubban\n * http://www.mozilla.org/MPL/\n */\n/*!\n * based on\n * Snowball JavaScript Library v0.3\n * http://code.google.com/p/urim/\n * http://snowball.tartarus.org/\n *\n * Copyright 2010, Oleg Mazko\n * http://www.mozilla.org/MPL/\n */\n\n/**\n * export the module via AMD, CommonJS or as a browser global\n * Export code from https://github.com/umdjs/umd/blob/master/returnExports.js\n */\n;\n(function(root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(factory)\n } else if (typeof exports === 'object') {\n /**\n * Node. Does not work with strict CommonJS, but\n * only CommonJS-like environments that support module.exports,\n * like Node.\n */\n module.exports = factory()\n } else {\n // Browser globals (root is window)\n factory()(root.lunr);\n }\n}(this, function() {\n /**\n * Just return a value to define the module export.\n * This example returns an object, but the module\n * can return a function as the exported value.\n */\n return function(lunr) {\n /* throw error if lunr is not yet included */\n if ('undefined' === typeof lunr) {\n throw new Error('Lunr is not present. Please include / require Lunr before this script.');\n }\n\n /* throw error if lunr stemmer support is not yet included */\n if ('undefined' === typeof lunr.stemmerSupport) {\n throw new Error('Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.');\n }\n\n /* register specific locale function */\n lunr.ta = function() {\n this.pipeline.reset();\n this.pipeline.add(\n lunr.ta.trimmer,\n lunr.ta.stopWordFilter,\n lunr.ta.stemmer\n );\n\n // change the tokenizer for japanese one\n // if (isLunr2) { // for lunr version 2.0.0\n // this.tokenizer = lunr.ta.tokenizer;\n // } else {\n // if (lunr.tokenizer) { // for lunr version 0.6.0\n // lunr.tokenizer = lunr.ta.tokenizer;\n // }\n // if (this.tokenizerFn) { // for lunr version 0.7.0 -> 1.0.0\n // this.tokenizerFn = lunr.ta.tokenizer;\n // }\n // }\n\n if (this.searchPipeline) {\n this.searchPipeline.reset();\n this.searchPipeline.add(lunr.ta.stemmer)\n }\n };\n\n /* lunr trimmer function */\n lunr.ta.wordCharacters = \"\\u0b80-\\u0b89\\u0b8a-\\u0b8f\\u0b90-\\u0b99\\u0b9a-\\u0b9f\\u0ba0-\\u0ba9\\u0baa-\\u0baf\\u0bb0-\\u0bb9\\u0bba-\\u0bbf\\u0bc0-\\u0bc9\\u0bca-\\u0bcf\\u0bd0-\\u0bd9\\u0bda-\\u0bdf\\u0be0-\\u0be9\\u0bea-\\u0bef\\u0bf0-\\u0bf9\\u0bfa-\\u0bffa-zA-Z\uFF41-\uFF5A\uFF21-\uFF3A0-9\uFF10-\uFF19\";\n\n lunr.ta.trimmer = lunr.trimmerSupport.generateTrimmer(lunr.ta.wordCharacters);\n\n lunr.Pipeline.registerFunction(lunr.ta.trimmer, 'trimmer-ta');\n /* lunr stop word filter */\n lunr.ta.stopWordFilter = lunr.generateStopWordFilter(\n '\u0B85\u0B99\u0BCD\u0B95\u0BC1 \u0B85\u0B99\u0BCD\u0B95\u0BC7 \u0B85\u0BA4\u0BC1 \u0B85\u0BA4\u0BC8 \u0B85\u0BA8\u0BCD\u0BA4 \u0B85\u0BB5\u0BB0\u0BCD \u0B85\u0BB5\u0BB0\u0BCD\u0B95\u0BB3\u0BCD \u0B85\u0BB5\u0BB3\u0BCD \u0B85\u0BB5\u0BA9\u0BCD \u0B85\u0BB5\u0BC8 \u0B86\u0B95 \u0B86\u0B95\u0BB5\u0BC7 \u0B86\u0B95\u0BC8\u0BAF\u0BBE\u0BB2\u0BCD \u0B86\u0BA4\u0BB2\u0BBE\u0BB2\u0BCD \u0B86\u0BA4\u0BB2\u0BBF\u0BA9\u0BBE\u0BB2\u0BCD \u0B86\u0BA9\u0BBE\u0BB2\u0BC1\u0BAE\u0BCD \u0B86\u0BA9\u0BBE\u0BB2\u0BCD \u0B87\u0B99\u0BCD\u0B95\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A4\u0BBE\u0BA9\u0BC7 \u0BA4\u0BBE\u0BA9\u0BCD \u0BA8\u0BBE\u0B99\u0BCD\u0B95\u0BB3\u0BCD \u0BA8\u0BBE\u0BAE\u0BCD \u0BA8\u0BBE\u0BA9\u0BCD \u0BA8\u0BC0 \u0BA8\u0BC0\u0B99\u0BCD\u0B95\u0BB3\u0BCD'.split(' '));\n /* lunr stemmer function */\n lunr.ta.stemmer = (function() {\n\n return function(word) {\n // for lunr version 2\n if (typeof word.update === \"function\") {\n return word.update(function(word) {\n return word;\n })\n } else { // for lunr version <= 1\n return word;\n }\n\n }\n })();\n\n var segmenter = lunr.wordcut;\n segmenter.init();\n lunr.ta.tokenizer = function(obj) {\n if (!arguments.length || obj == null || obj == undefined) return []\n if (Array.isArray(obj)) return obj.map(function(t) {\n return isLunr2 ? new lunr.Token(t.toLowerCase()) : t.toLowerCase()\n });\n\n var str = obj.toString().toLowerCase().replace(/^\\s+/, '');\n return segmenter.cut(str).split('|');\n }\n\n lunr.Pipeline.registerFunction(lunr.ta.stemmer, 'stemmer-ta');\n lunr.Pipeline.registerFunction(lunr.ta.stopWordFilter, 'stopWordFilter-ta');\n\n };\n}))"],
|
|
"mappings": "4CAAA,IAAAA,EAAAC,EAAA,CAAAC,EAAAC,IAAA,EAsBC,SAASC,EAAMC,EAAS,CACnB,OAAO,QAAW,YAAc,OAAO,IAEzC,OAAOA,CAAO,EACL,OAAOH,GAAY,SAM5BC,EAAO,QAAUE,EAAQ,EAGzBA,EAAQ,EAAED,EAAK,IAAI,CAEvB,GAAEF,EAAM,UAAW,CAMjB,OAAO,SAASI,EAAM,CAEpB,GAAoB,OAAOA,EAAvB,IACF,MAAM,IAAI,MAAM,wEAAwE,EAI1F,GAAoB,OAAOA,EAAK,eAA5B,IACF,MAAM,IAAI,MAAM,wGAAwG,EAI1HA,EAAK,GAAK,UAAW,CACnB,KAAK,SAAS,MAAM,EACpB,KAAK,SAAS,IACZA,EAAK,GAAG,QACRA,EAAK,GAAG,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