kendricktan / laice

Train your own Natural Language Processor from a browser 🤖 (Prototype)
MIT License
172 stars 27 forks source link

How can I identify intents? #2

Open lmessinger opened 7 years ago

lmessinger commented 7 years ago

Hi

LUIS.AI enables the trainers to specify an 'intent'. can this be done here? if not, and i am to add it (i mean, contribute to the project by coding), how would you go about it?

thanks very much Lior

kendricktan commented 7 years ago

Hi there,

As far as I know, spaCy is more than capable in identifying intents.

See https://github.com/explosion/spaCy/issues/144

cbonadio commented 7 years ago

I am learning spaCy and razaNLU

Looking at the source code of razaNLU it uses spaCy to do entity recognition and sklearn to identify intents Check the train function at https://github.com/golastmile/rasa_nlu/blob/master/src/trainers/spacy_sklearn_trainer.py