Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve logging of the number of entities #21

Open
ondretom opened this issue Mar 21, 2018 · 1 comment
Open

Improve logging of the number of entities #21

ondretom opened this issue Mar 21, 2018 · 1 comment

Comments

@ondretom
Copy link

It does not make sense to print the number of entities here because they are processed on line 64

' ' + this.name + ' [' + intent.intent + ', ' + intentity.getNumOfEntities() +

@ondretom
Copy link
Author

Logging info should be also present in entities part (in case when there are only entities we know nothing about progress in wcs nlu)

if(result && result.entities && result.entities.length > 0) {
// The entities
result.entities.forEach(function (entity) {
intentity.addEntity(entity.entity, entity.value, entity.confidence);
});
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant