/angular-nlp-compromise

Natural Language Processing in your angularjs application. Based on nlp_compromise library (https://github.com/spencermountain/nlp_compromise)

Primary LanguageJavaScript

angular-nlp-compromise

Natural Language Processing in your angularjs application. Based on nlp_compromise library.

Example:

small angular example here

nlp_compromise examples:

Video

Getting started:

Get the code:

Install via Bower $ bower install --save angular-nlp-compromise.

Or download the release (minified)

Add module to your application.

index.html:

<html ng-app="app">
  <head></head>
  <body ng-controller="AppController">
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js"></script>
    <script src="angular-nlp-compromise.min.js"></script>
    <script src="app.js"></script>
  </body>
</html>

app.js

(function() {
  angular
    .module('app', ['nlpCompromise'])
    .controller('AppController', controller);

  controller.$inject = ['nlp']

  function controller(nlp) {
    console.log(nlp);
  }
})();

Documentation

See docs in nlp_compromise repository.