@Test public void testCustom() throws IOException { Collection<String> words = ssr.getStopwords(new File(getClass().getResource("exampleStoplist.txt").getPath())); assertTrue(words.contains("the")); assertFalse(words.contains("comment")); assertTrue(words.contains("test")); }
public Collection<String> getStopwords() { return stopwords; }
SharedStopwordResource extends BaleenResource { public Collection<String> getStopwords() { return stopwords; } }
SharedStopwordResource extends BaleenResource { public Collection<String> getStopwords() { return stopwords; }  }
SharedStopwordResource extends BaleenResource { public Collection<String> getStopwords() { return stopwords; }  Collection<String> getStopwords(); Collection<String> getStopwords(StopwordList list); Collection<String> getStopwords(File list); Collection<String> getStopwords(String configuration); }
SharedStopwordResource extends BaleenResource { public Collection<String> getStopwords() { return stopwords; }  Collection<String> getStopwords(); Collection<String> getStopwords(StopwordList list); Collection<String> getStopwords(File list); Collection<String> getStopwords(String configuration);  }