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

brill

Package Overview
Dependencies
Maintainers
2
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
2.0.0
Version published
Maintainers
2
Created
Source

brill

Build Coverage Downloads Size

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

Installation

npm:

npm install brill

Usage

var brill = require('brill')

console.log(Object.keys(brill).length) // 89539

console.log(brill.Eric) //=> [ 'NNP' ]
// (Proper Noun, singular)

console.log(brill['most-contentious']) //=> [ 'RB|VBG' ]
// (Adverb; Verb, present participle/gerund)

console.log(brill.AA) //=> [ 'JJ', 'NN', 'NNP' ]
// (Adjective; Noun, singular or mass; Proper Noun, singular)

API

brill

brill exposes an object where the keys are words and the values are a list of tags / joined tags (Object.<string>).

Capitalisation

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

var brill = require('brill')

console.log(brill.THAT) // [ 'TO', 'DT' ]
console.log(brill.That) // [ 'DT', 'NNP', 'PDT', 'IN', 'RB', 'EX', 'WDT' ]
console.log(brill.that) // [ 'IN', 'DT', 'NN', 'RB', 'RP', 'UH', 'WP', 'VBP', 'WDT' ]

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

  • buzzwords — List of buzzwords
  • fillers — List of filler words
  • hedges — List of hedge words
  • profanities — List of profane words
  • dale-chall — List of familiar American-English words
  • weasels — List of weasel words

License

MIT © Titus Wormer

Keywords

brill

FAQs

Package last updated on 17 May 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