After a lot of research I stumbled on someone with the same problem. They were advised to "hack" OpenNLP by adding a pronoun like "they" before the command to force the parser to see the input as a verb phrase. So I would give the parser "they open door" and get back
(S (NP (PRP they)) (VP (VBP open) (NP (NN door))))
at which point I can just extract the verb phrase.
I assume this would work for Catalyst as well. I would still love to use it instead of IKVM/OpenNLP.
Hi. How do load from a json file?
I've tried and I got an external error:
Message=Object reference not set to an instance of an object.
at Mosaik.Core.Languages.CodeToEnum(String input)
at Catalyst.Document.FromJObject(JObject jo)
at MyraTest3.Chatbot.Train.LoadIntentsFromJson(String json) in C:\Users....
I'm not sure if it's an error on my end or a bug in Mosaik.Core. Any advice?