diff --git a/lunr.th.js b/lunr.th.js index d21d177..e349fa7 100644 --- a/lunr.th.js +++ b/lunr.th.js @@ -84,7 +84,7 @@ lunr.Pipeline.registerFunction(lunr.th.trimmer, 'trimmer-th'); var segmenter = lunr.wordcut; - segmenter.init(); + //segmenter.init(); lunr.th.tokenizer = function(obj) { //console.log(obj); if (!arguments.length || obj == null || obj == undefined) return [] @@ -96,4 +96,4 @@ return segmenter.cut(str).split('|'); } }; -})) \ No newline at end of file +}))