@Test public void baseUIMAAnalyzerStreamTest() throws Exception { TokenStream ts = analyzer.tokenStream("text", "the big brown fox jumped on the wood"); assertTokenStreamContents( ts, new String[] {"the", "big", "brown", "fox", "jumped", "on", "the", "wood"}); }
@Override @After public void tearDown() throws Exception { analyzer.close(); super.tearDown(); }