🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

markovian-nlp

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markovian-nlp - npm Package Compare versions

Comparing version

to
1.1.3

lib/createSentence/createSentence.js

1

lib/distributions/index.js

@@ -12,2 +12,3 @@ "use strict";

// TODO: Consider extracting ngramDistributions to disambiguate
var _default = _distributions.default;

@@ -14,0 +15,0 @@ exports.default = _default;

5

package.json
{
"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
[![NpmLicense](https://img.shields.io/npm/l/markovian-nlp.svg)](LICENSE)
[![npm](https://img.shields.io/npm/v/markovian-nlp.svg)](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