public CommonGramsFilterFactory(Map<String,String> args) {super(args);commonWordFiles = get(args, "words");format = get(args, "format");ignoreCase = getBoolean(args, "ignoreCase", false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public CommonGramsFilterFactory(IDictionary<string, string> args): base(args){commonWordFiles = Get(args, "words");format = Get(args, "format");ignoreCase = GetBoolean(args, "ignoreCase", false);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}