public virtual void TestExclude()
 {
     CharArraySet exclusionSet = new CharArraySet(TEST_VERSION_CURRENT, AsSet("correspondente"), false);
     Analyzer a = new GalicianAnalyzer(TEST_VERSION_CURRENT, GalicianAnalyzer.DefaultStopSet, exclusionSet);
     CheckOneTerm(a, "correspondente", "correspondente");
     CheckOneTerm(a, "corresponderá", "correspond");
 }
示例#2
0
        public virtual void TestExclude()
        {
            CharArraySet exclusionSet = new CharArraySet(TEST_VERSION_CURRENT, AsSet("correspondente"), false);
            Analyzer     a            = new GalicianAnalyzer(TEST_VERSION_CURRENT, GalicianAnalyzer.DefaultStopSet, exclusionSet);

            CheckOneTerm(a, "correspondente", "correspondente");
            CheckOneTerm(a, "corresponderá", "correspond");
        }
 public virtual void TestBasics()
 {
     Analyzer a = new GalicianAnalyzer(TEST_VERSION_CURRENT);
     // stemming
     CheckOneTerm(a, "correspondente", "correspond");
     CheckOneTerm(a, "corresponderá", "correspond");
     // stopword
     AssertAnalyzesTo(a, "e", new string[] { });
 }
示例#4
0
        public virtual void TestBasics()
        {
            Analyzer a = new GalicianAnalyzer(TEST_VERSION_CURRENT);

            // stemming
            CheckOneTerm(a, "correspondente", "correspond");
            CheckOneTerm(a, "corresponderá", "correspond");
            // stopword
            AssertAnalyzesTo(a, "e", new string[] { });
        }