I am looking to load a custom build NER model as well as one of the "out-of-box" Stanford CoreNLP NER models on a Windows 10 computer. I would like to apply both models to my text.
I have accomplished this for a CentOS system and authored this question "Load Custom NER Model Stanford CoreNLP".
I understand that I can use -serverproperties
with a properties file to load a custom NER model. When you do this that is the only model to load and you would have to specify which "out-of-box" NER models you would like to load in addition to your custom model. I have done this on my CentOS system but cannot accomplish it on my Windows computer.
The difficulty comes in specifying the filepath to the "out-of-box" NER models. I use this type of path for my custom model C:\path\to\custom_model.ser.gz
but I do not have a file path to the "out-of-box" NER models as their paths are for a Linux OS.
How do I properly direct CoreNLP to the "out-of-box" NER models in my server.prop file?