- MongoDB. You'll need to configure connection in app.js.
- Node.js
- In the app's directory, run
npm install
. - Call
node app.js
- Enter the label's name in the LabelName field.
- Enter the keyboard-key to label-value mapping in the mapping field. (eg. {"1":"liberal", "5":"moderate", "0":"conservative"}. Note, the double quotes are necessary. Also, the space bar is reserved for skipping over a tweet.)
- Click the submit button.
- Hover the mouse over the tweet to activate the labeling. ('Unhovering' deactivates labeling.)
- Press a mapped key to apply the label. The next tweet will appear.
Debugging info is available in the browser's console.