nlpsum
Version:
Powerful text summarization algorithms from research papers and dedicated research.
17 lines (9 loc) • 292 B
JavaScript
// Generated by CoffeeScript 1.6.3
var chunks, nouns, options, str, tags, words;
str = "Sally is a huge fool";
options = set_options(options);
words = tokenizer(str, options);
tags = tag(words);
chunks = chunker(tags, options);
nouns = recognizer(chunks, options);
console.log(nouns);