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");
 }
Exemplo n.º 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[] { });
 }
Exemplo n.º 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[] { });
        }