|
1 |
| -# WikiSenti |
| 1 | +[](https://notebooks.gesis.org/binder/v2/gh/gesiscss/WikiSenti/master?urlpath=%2Fapps%2FWikiSentiFlow.ipynb) |
| 2 | + |
| 3 | +# WikiSenti |
| 4 | + |
| 5 | +## Description |
| 6 | + |
| 7 | +This demonstration contains three widgets that analyse sentiments on Wikipedia entities. Wikipedia entities contains entities |
| 8 | +in Wikipedia Article and Wikipedia Talk. Talk page is an area for editors to discuss about corresponding article, |
| 9 | +which can be visited from upper left side of article page. All the widgets include entities of both People and Events. |
| 10 | +The date for people indicates birth date, while the date for events indicates occurrance date. |
| 11 | + |
| 12 | +Three widgets are: |
| 13 | + |
| 14 | +1. **WikiSentiFlow**: used to show the changes of sentiment scores for Wikipedia entities (concepts) over time. It shows 25%, 50% (median), |
| 15 | +75% quantile of sentiment score for each month to present the sentiment distribution. |
| 16 | + |
| 17 | +2. **WikiSentiScatter**: used to show sentiment score including positive score and negative score for Wikipedia entities (concepts) verying with time. |
| 18 | + |
| 19 | +3. **WikiSentiViewer**: used to show sentiment distribution on geolocation for Wikipedia entities. |
| 20 | + |
| 21 | + |
| 22 | +The text of Articles and Talks is extracted from Wikipedia Dump, and time stamps are extracted from [DBPedia](https://wiki.dbpedia.org/). |
| 23 | + |
| 24 | +The scores are calculated with term frequency for sentiment words based on certain lexicons (OL, MPQA, LIWC, ANEW). |
| 25 | +For ANEW we take valency into account too. |
| 26 | + |
| 27 | +## Getting Started |
| 28 | + |
| 29 | +1. Click the Binder badge above or this [Binder link](https://notebooks.gesis.org/binder/v2/gh/gesiscss/WikiSenti/master?urlpath=%2Fapps%2FWikiSentiFlow.ipynb) |
| 30 | +to run the notebooks. (It may takes around 10 mins to prepare the environment) |
| 31 | + |
| 32 | +2. The widget will start automatically and now you can operate with it. If you want to check the details of code, please click the "Edit App" button in toolbar |
| 33 | + |
| 34 | +3. If you want to switch to the next notebook, just click the link below the current widget. |
| 35 | + |
| 36 | +## Run It Locally |
| 37 | + |
| 38 | +If you want to run it locally, you need to install libraries listed in environment.yml with version showed in requirements.txt. |
| 39 | +Dataset can download dataset in this [dropbox link](https://www.dropbox.com/sh/mt7by5f1wgl6n3z/AACddwkFPq5lPpH3ry83MgSDa?dl=0). |
| 40 | + |
0 commit comments