public WikipediaTokenizerFactory(Map<String,String> args) {super(args);tokenOutput = getInt(args, TOKEN_OUTPUT, WikipediaTokenizer.TOKENS_ONLY);untokenizedTypes = getSet(args, UNTOKENIZED_TYPES);if (untokenizedTypes == null) {untokenizedTypes = Collections.emptySet();}if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public WikipediaTokenizerFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}