axa-group / nlp.js

An NLP library for building bots, with entity extraction, sentiment analysis, automatic language identify, and so more
MIT License
6.24k stars 618 forks source link

how to manually add value during nlu classification #1367

Open sammwafy opened 9 months ago

sammwafy commented 9 months ago

In nlpManger we can addDocument as the following

manager.addDocument('en', 'I saw %hero% eating %food%', 'sawhero');

how can I manually add the value to it so that I have more control over the final classification score ?