0.1.0 • Published 2 years ago

compromise-wikipedia v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

This plugin provides a highly-compressed list of ~38 thousand popular wikipedia articles, and efficiently scans a text for them.

The plugin is approximately 300kb, minified.

Wikipedia

import plg from 'compromise-wikipedia'
nlp.extend(plg)

let doc = nlp('You could always go to McGill, the Harvard of Canada!')
let m = doc.wikipedia()
m.json()
// [...]

MIT