Natural Language Processing in your angularjs application. Based on nlp_compromise library.
nlp_compromise examples:
Install via Bower $ bower install --save angular-nlp-compromise
.
Or download the release (minified)
<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>
(function() {
angular
.module('app', ['nlpCompromise'])
.controller('AppController', controller);
controller.$inject = ['nlp']
function controller(nlp) {
console.log(nlp);
}
})();
See docs in nlp_compromise repository.