New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

posibly

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posibly

Compare and Convert Part-of-Speech Tagged Sentences to Expected Grammar.

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

Posibly

Compare and Convert Part-of-Speech Tagged Sentences to Expected Grammar.

npm version Build Status

Install

npm install --save posibly

Initialize

const Posibly = require('posibly');
const posibly = new Posibly(['V', 'DT', 'N']);

Compare

// using posibly from above
const tagged = [ [ 'eat', 'V' ], [ 'food', 'N' ] ];
const editPath = posibly.editPath(tagged);
// editPath.distance = 1

Convert

// using editPath from above
const retagged = editPath.retag();
/*
  retagged = [
    [ 'eat', 'V' ],
    [ null, 'DT' ],
    [ 'food', 'N' ],
  ]
*/

Copyright 2017, Kyle Stafford (MIT License).

Keywords

pos

FAQs

Package last updated on 09 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts