Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

pullquoter

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pullquoter - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

{
"name": "pullquoter",
"version": "0.0.1",
"description": "Project description",
"homepage": "https://github.com/github-username/project-name",
"keywords": [],
"version": "0.0.2",
"description": "Automatically pull interesting quotes out of an article.",
"homepage": "https://github.com/ageitgey/node-pullquoter",
"keywords": [
"summarization",
"summary",
"quotes",
"algorithm"
],
"author": {
"name": "Your Name",
"email": "your@email"
"name": "Adam Geitgey",
"email": "ageitgey@gmail.com"
},
"repository": {
"type": "git",
"url": "git://github.com/github-username/project-name"
"url": "git://github.com/ageitgey/node-pullquoter"
},
"bugs": "https://github.com/github-username/project-name/issues",
"bugs": "https://github.com/ageitgey/node-pullquoter/issues",
"engines": {
"node": "0.8.x || 0.9.x || 0.10.x"
},
"main": "lib/index.js",
"main": "lib/pullquoter.js",
"directories": {

@@ -46,5 +51,5 @@ "bin": "bin",

"type": "BSD",
"url": "https://github.com/github-username/project-name/blob/master/LICENSE"
"url": "https://github.com/ageitgey/node-pullquoter/blob/master/LICENSE"
}
]
}

@@ -5,2 +5,4 @@ # Pullquoter

[![Build Status](https://travis-ci.org/ageitgey/node-pullquoter.svg?branch=master)](https://travis-ci.org/ageitgey/node-pullquoter)
You've probably seen [pull quotes](http://en.wikipedia.org/wiki/Pull_quote)

@@ -102,1 +104,7 @@ like this in online articles:

```
## Limitations / Problems / TODO
* This only works for English. The stopwords, stemmer and tokenized currently only support English. It could be expanded for other western languages pretty easily, though.
* This module has a runtime of something like O(n^2/2) where n is the number of sentences in the text. So maybe don't run it on a huge piece of text.
* If you are doing something serious, maybe look into a [better text summarization algorithm](http://en.wikipedia.org/wiki/Automatic_summarization#Methods).