markovian-nlp
Advanced tools
Comparing version
@@ -12,2 +12,3 @@ "use strict"; | ||
// TODO: Consider extracting ngramDistributions to disambiguate | ||
var _default = _distributions.default; | ||
@@ -14,0 +15,0 @@ exports.default = _default; |
{ | ||
"name": "markovian-nlp", | ||
"version": "1.0.2", | ||
"version": "1.1.3", | ||
"description": "Markov chains & NLP", | ||
@@ -15,5 +15,6 @@ "license": "MIT", | ||
"prepublishOnly": "npm run build", | ||
"test": "mocha --require @babel/register --require @babel/polyfill" | ||
"test": "mocha" | ||
}, | ||
"dependencies": { | ||
"chance": "^1.0.16", | ||
"compromise": "^11.12.0", | ||
@@ -20,0 +21,0 @@ "ramda": "^0.25.0" |
# markovian-nlp | ||
[](LICENSE) | ||
[](https://www.npmjs.com/package/markovian-nlp) | ||
## Setup | ||
### Demo | ||
* [test with RunKit](https://npm.runkit.com/markovian-nlp) | ||
### Installation | ||
With [`npm`](https://www.npmjs.com/get-npm) installed, run terminal command: | ||
```shell | ||
npm i markovian-nlp | ||
``` | ||
* [npm package](https://www.npmjs.com/package/markovian-nlp) | ||
## Usage | ||
### Module import | ||
At the top of each JavaScript file where module will be used, declare an import. | ||
#### ES2015 | ||
```es6 | ||
import markovianNlp from 'markovian'; | ||
``` | ||
#### CommonJS | ||
```javascript | ||
const markovianNlp = require('markovian-nlp'); | ||
``` |
Sorry, the diff of this file is not supported yet
44298
144.16%35
105.88%424
180.79%29
625%3
50%+ Added
+ Added