Can you give a little more detail? What was the command you typed? Is that all your training data?
opennlp ... > On Jun 6, 2018, at 1:04 PM, Dingfan Zhao <[email protected]> wrote: > > Hello community, > > I am a user of OpenNLP framework and currently I want to train my own model > using the API provided by OpenNLP to recognise keywords from users’ input. > However, I always get the “InsufficientTrainingDataException” when I tried to > do that. Do you have any suggestions on how to solve this exception? > > Here is my project idea: > https://mifosforge.jira.com/wiki/spaces/RES/pages/225411076/Google+Summer+of+Code+2018+Ideas#GoogleSummerofCode2018Ideas-Mifos/FineractChatbot&Adapter > > <https://mifosforge.jira.com/wiki/spaces/RES/pages/225411076/Google+Summer+of+Code+2018+Ideas#GoogleSummerofCode2018Ideas-Mifos/FineractChatbot&Adapter> > > If you want to query about your financial conditions in the fields mentioned > in that link in natural language, what would be your commands? > > Here is the sample from my training data: > Check my status of <START:finance>loan<END> > Hello. What is my <START:finance>loan status<END> > What is my <START:finance>interest<END> > The error message is that: > opennlp.tools.util.InsufficientTrainingDataException: Training data must > contain more than one outcome > > Do you have any ideas? > > Regards, > Dingfan >
