/// <summary>
 /// test use of exclusion set </summary>
 //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
 //ORIGINAL LINE: public void testExclude() throws java.io.IOException
 public virtual void testExclude()
 {
     CharArraySet exclusionSet = new CharArraySet(TEST_VERSION_CURRENT, asSet("tirgiem"), false);
     Analyzer a = new LatvianAnalyzer(TEST_VERSION_CURRENT, LatvianAnalyzer.DefaultStopSet, exclusionSet);
     checkOneTerm(a, "tirgiem", "tirgiem");
     checkOneTerm(a, "tirgus", "tirg");
 }
        /// <summary>
        /// test use of exclusion set </summary>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void testExclude() throws java.io.IOException
        public virtual void testExclude()
        {
            CharArraySet exclusionSet = new CharArraySet(TEST_VERSION_CURRENT, asSet("tirgiem"), false);
            Analyzer     a            = new LatvianAnalyzer(TEST_VERSION_CURRENT, LatvianAnalyzer.DefaultStopSet, exclusionSet);

            checkOneTerm(a, "tirgiem", "tirgiem");
            checkOneTerm(a, "tirgus", "tirg");
        }
 /// <summary>
 /// test stopwords and stemming </summary>
 //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
 //ORIGINAL LINE: public void testBasics() throws java.io.IOException
 public virtual void testBasics()
 {
     Analyzer a = new LatvianAnalyzer(TEST_VERSION_CURRENT);
     // stemming
     checkOneTerm(a, "tirgiem", "tirg");
     checkOneTerm(a, "tirgus", "tirg");
     // stopword
     assertAnalyzesTo(a, "un", new string[] {});
 }
        /// <summary>
        /// test stopwords and stemming </summary>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void testBasics() throws java.io.IOException
        public virtual void testBasics()
        {
            Analyzer a = new LatvianAnalyzer(TEST_VERSION_CURRENT);

            // stemming
            checkOneTerm(a, "tirgiem", "tirg");
            checkOneTerm(a, "tirgus", "tirg");
            // stopword
            assertAnalyzesTo(a, "un", new string[] {});
        }