uk.ac.gla.dcs.renaissance.mg4j.index
Class StopListProcessor2
java.lang.Object
uk.ac.gla.dcs.renaissance.mg4j.index.StopListProcessor2
- All Implemented Interfaces:
- it.unimi.dsi.lang.FlyweightPrototype<it.unimi.dsi.mg4j.index.TermProcessor>, it.unimi.dsi.mg4j.index.TermProcessor, Serializable
public class StopListProcessor2
- extends Object
- implements it.unimi.dsi.mg4j.index.TermProcessor
- See Also:
- Serialized Form
StopListProcessor2
public StopListProcessor2(BufferedReader in)
throws IOException
- Builds a new stop word filter
- Parameters:
in
- The input stream, that contains one word a line
- Throws:
IOException
- If something goes bad with the file
StopListProcessor2
public StopListProcessor2(String... stopwords)
copy
public it.unimi.dsi.mg4j.index.TermProcessor copy()
- Specified by:
copy
in interface it.unimi.dsi.lang.FlyweightPrototype<it.unimi.dsi.mg4j.index.TermProcessor>
- Specified by:
copy
in interface it.unimi.dsi.mg4j.index.TermProcessor
processPrefix
public boolean processPrefix(it.unimi.dsi.lang.MutableString prefix)
- Specified by:
processPrefix
in interface it.unimi.dsi.mg4j.index.TermProcessor
processTerm
public boolean processTerm(it.unimi.dsi.lang.MutableString term)
- Specified by:
processTerm
in interface it.unimi.dsi.mg4j.index.TermProcessor
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2011. All Rights Reserved.