Analyzer for Indonesian (Bahasa)
Inheritance: Lucene.Net.Analysis.Util.StopwordAnalyzerBase
 public virtual void TestExclude()
 {
     CharArraySet exclusionSet = new CharArraySet(TEST_VERSION_CURRENT, AsSet("peledakan"), false);
     Analyzer a = new IndonesianAnalyzer(TEST_VERSION_CURRENT, IndonesianAnalyzer.DefaultStopSet, exclusionSet);
     CheckOneTerm(a, "peledakan", "peledakan");
     CheckOneTerm(a, "pembunuhan", "bunuh");
 }
        public virtual void TestExclude()
        {
            CharArraySet exclusionSet = new CharArraySet(TEST_VERSION_CURRENT, AsSet("peledakan"), false);
            Analyzer     a            = new IndonesianAnalyzer(TEST_VERSION_CURRENT, IndonesianAnalyzer.DefaultStopSet, exclusionSet);

            CheckOneTerm(a, "peledakan", "peledakan");
            CheckOneTerm(a, "pembunuhan", "bunuh");
        }
 public virtual void TestBasics()
 {
     Analyzer a = new IndonesianAnalyzer(TEST_VERSION_CURRENT);
     // stemming
     CheckOneTerm(a, "peledakan", "ledak");
     CheckOneTerm(a, "pembunuhan", "bunuh");
     // stopword
     AssertAnalyzesTo(a, "bahwa", new string[] { });
 }
        public virtual void TestBasics()
        {
            Analyzer a = new IndonesianAnalyzer(TEST_VERSION_CURRENT);

            // stemming
            CheckOneTerm(a, "peledakan", "ledak");
            CheckOneTerm(a, "pembunuhan", "bunuh");
            // stopword
            AssertAnalyzesTo(a, "bahwa", new string[] { });
        }