public EdgeNGramTokenizerFactory(Map<String, String> args) {super(args);minGramSize = getInt(args, "minGramSize", EdgeNGramTokenizer.DEFAULT_MIN_GRAM_SIZE);maxGramSize = getInt(args, "maxGramSize", EdgeNGramTokenizer.DEFAULT_MAX_GRAM_SIZE);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public EdgeNGramTokenizerFactory ( Map < String , String > args ) { super ( args ) ; minGramSize = getInt ( args , "minGramSize" , EdgeNGramTokenizer . DEFAULT_MIN_GRAM_SIZE ) ; maxGramSize = getInt ( args , "maxGramSize" , EdgeNGramTokenizer . DEFAULT_MAX_GRAM_SIZE ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public EdgeNGramTokenizerFactory(IDictionary<string, string> args) : base(args){minGramSize = GetInt32(args, "minGramSize", EdgeNGramTokenizer.DEFAULT_MIN_GRAM_SIZE);maxGramSize = GetInt32(args, "maxGramSize", EdgeNGramTokenizer.DEFAULT_MAX_GRAM_SIZE);side = Get(args, "side", EdgeNGramTokenFilter.Side.FRONT.ToString());if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
