I'd like to run one of the built-in classifiers on a file, then run my own classifier, merging the results.
How do I do so with Stanford NER, in particular, via the command line?
I am aware of How do I include more than one classifiers when using Stanford named entity recogniser? , but this is slightly different, as that questions asks about multiple classifiers with NERServer.
Looks like I need to use CoreNLP to run multiple NER models in sequence...can I do it without CoreNLP?
Say I had a file with contents "the quick brown fox jumped over the lazy dog in America". I run the one of the built-in classifiers, and it finds "America" as a location, then I run my own, and it finds "fox" and "dog", the result should be:
the quick brown <animal>fox</animal> jumped over the lazy <animal>dog</animal> in <location>America</location