Socket
Socket
Sign inDemoInstall

compromise

Package Overview
Dependencies
Maintainers
2
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compromise - npm Package Versions

1
17

11.5.3

Diff

spencermountain
published 11.5.2 •

spencermountain
published 11.5.1 •

spencermountain
published 11.5.0 •

Changelog

Source

11.5.0

  • add #Abbreviation tag
  • add #ProperNoun tag
  • fixes for noun inflection
spencermountain
published 11.4.0 •

spencermountain
published 11.3.0 •

spencermountain
published 11.2.3 •

spencermountain
published 11.2.2 •

spencermountain
published 11.2.1 •

Changelog

Source

11.2.1

  • rolls-back some aggressive JustesonKatz stuff
  • better support for emdash numberRange
  • 'can't' contraction bugfix
  • fix for dates().toShortForm()
spencermountain
published 11.1.0 •

Changelog

Source

11.1.0

  • add #Multiple Values tag, and changes to how invalid numbers like 'sixty fifteen hundred' are understood
  • better em-dash/en-dash support
  • better conjugate implicit verbs inside contractions - "i'm", "we've"
  • nouns().articles() method
  • neighborhoods as #Place
  • support more complex noun-phrases with JustesonKatz in .nouns()

v11

  • support for persistent lexicon/tagset changes
  • addTags, addWords, addRegs, addPlurals, addConjugations methods to extend native data
    • .plugin() method to wrap all of these into one
    • (removal of .packWords() method)
  • more .organizations() matches
  • regex-support in .match() - nlp('it is waaaay cool').match('/aaa/').out()//'waaaay'
  • improved apostrophe-s disambiguation
  • support whitespace before sentence boundary
  • improved QuestionWord tagging, some .questions() without a question-mark
  • phrasalVerb conjugation
  • new #Activity tag for Gerunds as nouns 'walking is fun'
  • change ngram params to an object {size:int, max:int}
  • implement '[]' capture-group syntax in .match()
  • bring-back map, filter, foreach and reduce methods
  • set .words() as alias for .terms()
  • people().firstNames(), people().lastNames()
  • split-out comma-separated adverbs
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc