public MorfologikFilterFactory(Map<String,String> args) {super(args);final String DICTIONARY_RESOURCE_ATTRIBUTE = "dictionary-resource";String dictionaryResource = get(args, DICTIONARY_RESOURCE_ATTRIBUTE);if (dictionaryResource != null && !dictionaryResource.isEmpty()) {throw new IllegalArgumentException("The " + DICTIONARY_RESOURCE_ATTRIBUTE + " attribute is no "+ "longer supported. Use the '" + DICTIONARY_ATTRIBUTE + "' attribute instead (see LUCENE-6833).");}resourceName = get(args, DICTIONARY_ATTRIBUTE);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public MorfologikFilterFactory(IDictionary<string, string> args): base(args){string DICTIONARY_RESOURCE_ATTRIBUTE = "dictionary-resource";string dictionaryResource = Get(args, DICTIONARY_RESOURCE_ATTRIBUTE);if (!string.IsNullOrEmpty(dictionaryResource)){throw new ArgumentException("The " + DICTIONARY_RESOURCE_ATTRIBUTE + " attribute is no "+ "longer supported. Use the '" + DICTIONARY_ATTRIBUTE + "' attribute instead (see LUCENE-6833).");}resourceName = Get(args, DICTIONARY_ATTRIBUTE);if (args.Count != 0){throw new ArgumentException("Unknown parameters: " + args);}}