public TypeTokenFilterFactory(Map<String,String> args) {super(args);stopTypesFiles = require(args, "types");useWhitelist = getBoolean(args, "useWhitelist", false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public TypeTokenFilterFactory(IDictionary<string, string> args): base(args){stopTypesFiles = Require(args, "types");enablePositionIncrements = GetBoolean(args, "enablePositionIncrements", true);useWhitelist = GetBoolean(args, "useWhitelist", false);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
