Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

brill

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brill

Part-of-speech tags from the Brill-tagger

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
370
-26.73%
Maintainers
1
Weekly downloads
 
Created
Source

brill Build Status Coverage Status

The part-of-speech tags from the Brill-tagger: 89,539 unique words/symbols with one or more tags.

Installation

npm:

$ npm install brill

Component:

$ component install wooorm/brill

Bower:

$ bower install brill

Usage

var brill = require('brill');

brill.get('Eric'); // ['NNP']

brill.has('unicorn'); // false
brill.add('unicorn', ['NN']);
brill.get('unicorn'); // ['NN']

brill.remove('unicorn');
brill.get('unicorn'); // null

brill.get('most-contentious'); // ['RBS|JJ']

Capitalisation

Some words are included as all-caps, first-capital, lowercase, or other:

> brill.get('THAT')
[ 'WDT', 'DT' ]
> brill.get('That')
[ 'DT', 'NNP', 'PDT', 'IN', 'RB', 'WP', 'WDT' ]
> brill.get('that')
[ 'IN', 'DT', 'NN', 'RB', 'RP', 'UH', 'WP', 'VBP', 'WDT' ]

It is recommended to check a given word first in its original form, and second, if no tags are found, in its lowercase form.

API

See the datamap-interface API.

Tags

See Supported-tags.md.

License

MIT © Titus Wormer

Keywords

brill

FAQs

Package last updated on 19 Oct 2014

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