Create() 공개 메소드

public Create ( TokenStream input ) : TokenStream
input TokenStream
리턴 TokenStream
 public void TestBasics()
 {
     TextReader reader = new StringReader("studenta studenci");
     StempelPolishStemFilterFactory factory = new StempelPolishStemFilterFactory(new Dictionary<string, string>());
     TokenStream stream = new MockTokenizer(reader, MockTokenizer.WHITESPACE, false);
     stream = factory.Create(stream);
     AssertTokenStreamContents(stream,
         new string[] { "student", "student" });
 }
예제 #2
0
        public void TestBasics()
        {
            TextReader reader = new StringReader("studenta studenci");
            StempelPolishStemFilterFactory factory = new StempelPolishStemFilterFactory(new Dictionary <string, string>());
            TokenStream stream = new MockTokenizer(reader, MockTokenizer.WHITESPACE, false);

            stream = factory.Create(stream);
            AssertTokenStreamContents(stream,
                                      new string[] { "student", "student" });
        }