/** * Creates EdgeNGramTokenizer that can generate n-grams in the sizes of the given range * * @param sideLabel the name of the {@link Side} from which to chop off an n-gram * @param minGram the smallest n-gram to generate * @param maxGram the largest n-gram to generate */ @Deprecated public Lucene43EdgeNGramTokenizer(String sideLabel, int minGram, int maxGram) { this(Side.getSide(sideLabel), minGram, maxGram); }
/** * Creates EdgeNGramTokenizer that can generate n-grams in the sizes of the given range * * @param factory {@link org.apache.lucene.util.AttributeFactory} to use * @param sideLabel the {@link Side} from which to chop off an n-gram * @param minGram the smallest n-gram to generate * @param maxGram the largest n-gram to generate */ public Lucene43EdgeNGramTokenizer(AttributeFactory factory, String sideLabel, int minGram, int maxGram) { this(factory, Side.getSide(sideLabel), minGram, maxGram); }