-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathREADME
31 lines (22 loc) · 1.43 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Companion code for
Awe the Audience: How Emotional Trajectories Affect Audience Perception in Public Speaking
Installation Instruction
========================
1. For python distribution, you can install anaconda or miniconda (a mini version of anaconda)
https://conda.io/docs/user-guide/install/index.html
2. Install the requirements:
pip install -r requirements.txt
3. Install IBM Watson Developer Cloud to extract the tone (Emotion, Language, Personality) scores:
pip install --upgrade watson-developer-cloud
For more instructions/help, you may visit: https://pypi.python.org/pypi/watson-developer-cloud
4. (Optional) If you want to extract the IBM scores yourself, you need to create an account for IBM Watson tone analyzer service (Even a free account will work):
https://www.ibm.com/watson/services/tone-analyzer/
Then, edit the bluemix_key.py file and put the credentials (username and password) provided in the service key. Please note that this credentials are different than your account login username and password.
Please Note: We provided the TED talk transcripts and the IBM scores within the repository (please check the talks folder and the bluemix_sentiment folder. The data is stored in pickle format. To unpickle and to see the data, use the pickle library in python: https://docs.python.org/2/library/pickle.html)
Usage
=====
cd tedanalytics
python ted_talk_experiments.py
Documentation
=============
All the codes are documented inline