public ShingleFilter create(TokenStream input) {ShingleFilter r = new ShingleFilter(input, minShingleSize, maxShingleSize);r.setOutputUnigrams(outputUnigrams);r.setOutputUnigramsIfNoShingles(outputUnigramsIfNoShingles);r.setTokenSeparator(tokenSeparator);r.setFillerToken(fillerToken);return r;}
public override TokenStream Create(TokenStream input){ShingleFilter r = new ShingleFilter(input, minShingleSize, maxShingleSize);r.SetOutputUnigrams(outputUnigrams);r.SetOutputUnigramsIfNoShingles(outputUnigramsIfNoShingles);r.SetTokenSeparator(tokenSeparator);r.SetFillerToken(fillerToken);return r;}