This is my solution to the Article Summerization Challenge for Capital One. It provides the name of the Article that you want summarized as well as 6 lines of summarized text. This app also providies a browser that does not make use of the genric android broser to carry out commands.
I myself do not have an android phone at the time to test the app with but I used Genymotion (an Android Studio emulator plugin). Here are steps to install:
-
Make sure you have Android Studio installed on your desktop (http://developer.android.com/sdk/index.html)
-
Download Genymotion to your desktop (its free for indvidual use, choose the basic plan; https://www.genymotion.com/) and install
-
Install the plugin for Genymotion on Android Studio
- Open up the Genymotion desktop application and add a device you want to emulate on (I recommend Google Nexus 5 - 6.0.0 - API 23 - 1080x1920)
-
Now open the Genymotion plugin and select a path for the Genymotion plugin to open the app (/Applications/Genymotion.app something like this)
-
Start the Emulator.
-
Download the Zip file and unzip it
-
Open Android Studio and open the unziped file
-
Open any main activity and run the app via the Genymotion emulator
-
If (and only if) the summerization does not work then you probably need to sign up at Mashape and get an application key (https://market.mashape.com). Then replace my key (rprHAgebeEmshOsHw3pu3foo2JMep1EHd0EjsnH1az5MLf29MC) with your key (there are 2 places you would have to replace them and they are both in the AsyncTask's doInBackground method in my first MainActivity)
The App has 2 main Activities; 1 for the summary view and the other for the original view
Summary | Original |
---|---|
The Original View is includes a webbrowser that loads Google implicitly. You can search for articles via the url bar or google. When you get an articles url you want to summarize copy it (includding the http protocol) and click Search in the Summary view! Here are some sample runs:
Summary | Original |
---|---|
https://campus.capitalone.com/campus-events
http://www.bbc.com/news/science-environment-30097648
http://www.funnyant.com/reactjs-what-is-it/
In conclusion, my app provides you with the power to summarize long articles into 6 concise senteces and also provides you with the authors name. I will continue to innovate this ap and add other features like keywords and direct linking. Have fun summarizing!!!