public OpenNLPPOSFilter create(TokenStream in) {try {return new OpenNLPPOSFilter(in, OpenNLPOpsFactory.getPOSTagger(posTaggerModelFile));} catch (IOException e) {throw new IllegalArgumentException(e);}}
public override TokenStream Create(TokenStream input){try{return new OpenNLPPOSFilter(input, OpenNLPOpsFactory.GetPOSTagger(posTaggerModelFile));}catch (IOException e){throw new ArgumentException(e.ToString(), e);}}