public OpenNLPChunkerFilterFactory(Map<String,String> args) {super(args);chunkerModelFile = get(args, CHUNKER_MODEL);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public OpenNLPChunkerFilterFactory(IDictionary<string, string> args): base(args){chunkerModelFile = Get(args, CHUNKER_MODEL);if (args.Any()){throw new ArgumentException("Unknown parameters: " + args);}}