public HunspellStemFilterFactory(Map<String,String> args) {super(args);dictionaryFiles = require(args, PARAM_DICTIONARY);affixFile = get(args, PARAM_AFFIX);ignoreCase = getBoolean(args, PARAM_IGNORE_CASE, false);longestOnly = getBoolean(args, PARAM_LONGEST_ONLY, false);getBoolean(args, "strictAffixParsing", true);getInt(args, "recursionCap", 0);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public HunspellStemFilterFactory(IDictionary<string, string> args): base(args){dictionaryFiles = Require(args, PARAM_DICTIONARY);affixFile = Get(args, PARAM_AFFIX);ignoreCase = GetBoolean(args, PARAM_IGNORE_CASE, false);longestOnly = GetBoolean(args, PARAM_LONGEST_ONLY, false);GetBoolean(args, "strictAffixParsing", true);GetInt32(args, "recursionCap", 0);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}