Module: util/nlp

Natural Language Processing utilities.

Methods


<static> BayesClassifier()

Returns a Bayes Classifier prototype.

<static> entitiesExtraction(dialog)

Named Entity extraction.
Parameters:
Name Type Description
dialog Object
Properties
Name Type Description
text string Input text.
entities Array.<string> Entities list (output).
nonEntities Array.<string> Non Entities lowercased list (output).