//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void testWithStemExclusionSet() throws java.io.IOException public virtual void testWithStemExclusionSet() { CharArraySet set = new CharArraySet(TEST_VERSION_CURRENT, 1, true); set.add("پیاوە"); Analyzer a = new SoraniAnalyzer(TEST_VERSION_CURRENT, CharArraySet.EMPTY_SET, set); assertAnalyzesTo(a, "پیاوە", new string[] {"پیاوە"}); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void testReusableTokenStream() throws java.io.IOException public virtual void testReusableTokenStream() { Analyzer a = new SoraniAnalyzer(TEST_VERSION_CURRENT); assertAnalyzesTo(a, "پیاوە", new string[] { "پیاو" }); assertAnalyzesTo(a, "پیاو", new string[] { "پیاو" }); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void testWithStemExclusionSet() throws java.io.IOException public virtual void testWithStemExclusionSet() { CharArraySet set = new CharArraySet(TEST_VERSION_CURRENT, 1, true); set.add("پیاوە"); Analyzer a = new SoraniAnalyzer(TEST_VERSION_CURRENT, CharArraySet.EMPTY_SET, set); assertAnalyzesTo(a, "پیاوە", new string[] { "پیاوە" }); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void testStopwords() throws java.io.IOException public virtual void testStopwords() { Analyzer a = new SoraniAnalyzer(TEST_VERSION_CURRENT); assertAnalyzesTo(a, "ئەم پیاوە", new string[] {"پیاو"}); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void testReusableTokenStream() throws java.io.IOException public virtual void testReusableTokenStream() { Analyzer a = new SoraniAnalyzer(TEST_VERSION_CURRENT); assertAnalyzesTo(a, "پیاوە", new string[] {"پیاو"}); assertAnalyzesTo(a, "پیاو", new string[] {"پیاو"}); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void testCustomStopwords() throws java.io.IOException public virtual void testCustomStopwords() { Analyzer a = new SoraniAnalyzer(TEST_VERSION_CURRENT, CharArraySet.EMPTY_SET); assertAnalyzesTo(a, "ئەم پیاوە", new string[] {"ئەم", "پیاو"}); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void testCustomStopwords() throws java.io.IOException public virtual void testCustomStopwords() { Analyzer a = new SoraniAnalyzer(TEST_VERSION_CURRENT, CharArraySet.EMPTY_SET); assertAnalyzesTo(a, "ئەم پیاوە", new string[] { "ئەم", "پیاو" }); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void testStopwords() throws java.io.IOException public virtual void testStopwords() { Analyzer a = new SoraniAnalyzer(TEST_VERSION_CURRENT); assertAnalyzesTo(a, "ئەم پیاوە", new string[] { "پیاو" }); }