Analyzer for Swedish.
Inheritance: Lucene.Net.Analysis.Util.StopwordAnalyzerBase
 public virtual void TestExclude()
 {
     CharArraySet exclusionSet = new CharArraySet(TEST_VERSION_CURRENT, AsSet("jaktkarlarne"), false);
     Analyzer a = new SwedishAnalyzer(TEST_VERSION_CURRENT, SwedishAnalyzer.DefaultStopSet, exclusionSet);
     CheckOneTerm(a, "jaktkarlarne", "jaktkarlarne");
     CheckOneTerm(a, "jaktkarlens", "jaktkarl");
 }
        public virtual void TestExclude()
        {
            CharArraySet exclusionSet = new CharArraySet(TEST_VERSION_CURRENT, AsSet("jaktkarlarne"), false);
            Analyzer     a            = new SwedishAnalyzer(TEST_VERSION_CURRENT, SwedishAnalyzer.DefaultStopSet, exclusionSet);

            CheckOneTerm(a, "jaktkarlarne", "jaktkarlarne");
            CheckOneTerm(a, "jaktkarlens", "jaktkarl");
        }
 public virtual void TestBasics()
 {
     Analyzer a = new SwedishAnalyzer(TEST_VERSION_CURRENT);
     // stemming
     CheckOneTerm(a, "jaktkarlarne", "jaktkarl");
     CheckOneTerm(a, "jaktkarlens", "jaktkarl");
     // stopword
     AssertAnalyzesTo(a, "och", new string[] { });
 }
        public virtual void TestBasics()
        {
            Analyzer a = new SwedishAnalyzer(TEST_VERSION_CURRENT);

            // stemming
            CheckOneTerm(a, "jaktkarlarne", "jaktkarl");
            CheckOneTerm(a, "jaktkarlens", "jaktkarl");
            // stopword
            AssertAnalyzesTo(a, "och", new string[] { });
        }