angular-nlp-compromise
angular-nlp-compromise copied to clipboard
Natural Language Processing in your angularjs application. Based on nlp_compromise library (https://github.com/spencermountain/nlp_compromise)
angular-nlp-compromise
Natural Language Processing in your angularjs application. Based on nlp_compromise library.
Example:
nlp_compromise examples:
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.