how can I create .csv file for watson Natural Language Classifier -


my .csv format this

good evening,greeting morning,greeting afternoon,greeting hi everybody,greeting 1,quantity 2,quantity 3,quantity 4,quantity 5,quantity  give me *,orderplacement need *,orderplacement needed *,orderplacement please send *,orderplacement 

now input text need 3 pens nlc set higher confidence quantity. how can resolve error?

there number of issues.

the purpose of nlc train off questions in natural language format. using questions, able determine intent of question never seen before.

because of this, training data has proper english. these lines not work:

1,quantity 2,quantity 3,quantity 4,quantity 5,quantity 

instead should in way may ask, , not same pattern. example:

i buy 1 item,quantity can 2 items?, quantity please add 3 items basket, quantity want purchase 4 boxes of product, quantity please send me 5 boxes, quantity 

even recommend not manufacture questions. training on how speak, , not end user.

also @leo mentioned, nlc not parser. these lines not work:

i give me *,orderplacement need *,orderplacement needed *,orderplacement please send *,orderplacement 

because incomplete sentences. have lost intent of original question.

lastly nlc requires minimum of 5 questions per intent correctly train.

you can read more details on how works in service api document.


Comments