Hi Team,

Can someone help with how to load multiple models?

I have this example code, but right now I am loading only one model, if I
would like to load more than one model, what would I need to do?

InputStream is = new FileInputStream("C:/opennlp/en-ner-organization.bin");

TokenNameFinderModel model = new TokenNameFinderModel(is);
is.close();

NameFinderME nameFinder = new NameFinderME(model);

Any input would be appreciated.

Thanks for your time and help.

Thank you,
Giri

Reply via email to