public OpenNLPPOSFilterFactory(Map<String,String> args) {super(args);posTaggerModelFile = require(args, POS_TAGGER_MODEL);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public OpenNLPPOSFilterFactory(IDictionary<string, string> args): base(args){posTaggerModelFile = Require(args, POS_TAGGER_MODEL);if (args.Any()){throw new ArgumentException("Unknown parameters: " + args);}}