public SerbianNormalizationFilterFactory(Map<String,String> args){
  super(args);
  this.haircut=get(args,"haircut",Arrays.asList("bald","regular"),"bald");
  if (!args.isEmpty()) {
    throw new IllegalArgumentException("Unknown parameters: " + args);
  }
}

public SerbianNormalizationFilterFactory ( Map < String , String > args ) { super ( args ) ; this . haircut = get ( args , "haircut" , Arrays . asList ( "bald" , "regular" ) , "bald" ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
creates a new serbiannormalizationfilterfactory
