SUMMERy

所属分类:特征抽取
开发工具:JavaScript
文件大小:3685KB
下载次数:0
上传日期:2017-09-22 13:31:49
上 传 者sh-1993
说明:  谷歌铬扩展,总结在线新闻文章。
(Google chrome extension that summarizes online news articles.)

文件列表:
Capital-One-Challenge.crx (1886536, 2017-09-22)
article_info.html (1172, 2017-09-22)
css (0, 2017-09-22)
css\bootstrap.min.css (121260, 2017-09-22)
css\popup.css (789, 2017-09-22)
fonts (0, 2017-09-22)
fonts\glyphicons-halflings-regular.eot (20127, 2017-09-22)
fonts\glyphicons-halflings-regular.svg (108738, 2017-09-22)
fonts\glyphicons-halflings-regular.ttf (45404, 2017-09-22)
fonts\glyphicons-halflings-regular.woff (23424, 2017-09-22)
fonts\glyphicons-halflings-regular.woff2 (18028, 2017-09-22)
history.html (2282, 2017-09-22)
howto.html (1386, 2017-09-22)
img (0, 2017-09-22)
img\icon.png (44940, 2017-09-22)
img\sad_face.png (44690, 2017-09-22)
js (0, 2017-09-22)
js\bundle.js (219156, 2017-09-22)
js\content.js (867, 2017-09-22)
js\lib (0, 2017-09-22)
js\lib\angular-route.min.js (4582, 2017-09-22)
js\lib\angular.min.js (155092, 2017-09-22)
js\lib\bootstrap.min.js (36868, 2017-09-22)
js\lib\chrome-Storage-largeSync.min.js (7494, 2017-09-22)
js\lib\firebase.js (141237, 2017-09-22)
js\lib\jquery-2.2.1.min.js (85630, 2017-09-22)
js\lib\jquery.highlight.js (3983, 2017-09-22)
js\lib\ui-bootstrap.js (125941, 2017-09-22)
js\popup.js (11280, 2017-09-22)
keywords.html (2594, 2017-09-22)
manifest.json (450, 2017-09-22)
package.json (245, 2017-09-22)
popup.html (3090, 2017-09-22)
screenshots (0, 2017-09-22)
screenshots\api_key.png (40345, 2017-09-22)
screenshots\article_info.png (37125, 2017-09-22)
screenshots\history.png (70143, 2017-09-22)
screenshots\history_example.png (185844, 2017-09-22)
... ...

# SUMMERy - Capital One Article Summarization Challenge This project is a google chrome extension that summarizes online articles. This extension uses Aylien Text API to summarize online articles and extract key information. It also uses chrome.storage to store articles and summaries. #Install Enter these into the command line:
1) Get repository:
$ git clone https://github.com/bchung1/Capital-One-Challenge.git
2) Open the folder "Capital-One-Challenge" and install local dependencies: aylien_textapi
$ npm install
3) Install global dependencies: browserify and watchify (for development uses)
$ sudo npm install -g browserify watchify
#Usage In order to use this extension you need your own ID and key from Aylien Text API.
Steps:
1) Sign up here https://developer.aylien.com/signup and get 1,000 calls a day for free.
2) Open the repository and open bundle.js in the js folder. At the very top there are two variables ID and key. Assign to those variables your key and ID.
![alt text](https://github.com/bchung1/SUMMERy/blob/master/screenshots/api_key.png)

3) Load the extension into chrome.
#Extension Features

This page displays the summary of the current page.

1) This input changes the number of sentences of the summary.
2) This button decreases the font size.
3) This button increases the font size.
4) This button copies the summary to the clipboard.
5) This button resizes the browser to allow the user to read the summary and the article simultaneously.
6) This button saves the summary to chrome storage.

![](https://github.com/bchung1/SUMMERy/blob/master/screenshots/homepage.png)

My Bonus Objective

The bonus objective I added was to highlight the summary sentences and the keywords in the current browser page. I hoped that this feature would help readers quickly identify the summary sentences in the article. Some sentences need more context and this feature is a quick way to achieve this. To highlight the text, I used a jquery plugin by Johann Burkard.

![](https://github.com/bchung1/SUMMERy/blob/master/screenshots/resize.png )

Summary Alternative

In case the extension cannot summarize the current page, the user has the option to paste the article title and text.

![alt text](https://github.com/bchung1/SUMMERy/blob/master/screenshots/summarize_fail.png)

Keywords/Phrases

This page provides a table of keywords and phrases categorized by keywords, people, organizations, and locations. Each keyword/phrase links to a wikipedia page

![alt text](https://github.com/bchung1/SUMMERy/blob/master/screenshots/keywords.png)

Article Info

This page displays the author and publication date of the article

![alt text](https://github.com/bchung1/SUMMERy/blob/master/screenshots/article_info.png)

History

This page displays all the saved summaries. The user can read the summary or original text, open the url, remove the summary, or clear the history.

![alt text](https://github.com/bchung1/SUMMERy/blob/master/screenshots/history.png)
![alt text](https://github.com/bchung1/SUMMERy/blob/master/screenshots/history_example.png)

Instructions

This page is a very basic set of instructions for this extension.

![alt text](https://github.com/bchung1/SUMMERy/blob/master/screenshots/howto.png)

近期下载者

相关文件


收藏者