https://github.com/tynovsky/tred-sentiment
Sentiment annotation extension for Tred
https://github.com/tynovsky/tred-sentiment
Last synced: 6 months ago
JSON representation
Sentiment annotation extension for Tred
- Host: GitHub
- URL: https://github.com/tynovsky/tred-sentiment
- Owner: tynovsky
- Created: 2013-09-13T15:40:24.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-09-13T16:47:09.000Z (almost 13 years ago)
- Last Synced: 2025-04-12T19:19:26.770Z (over 1 year ago)
- Size: 117 KB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tred-sentiment
Sentiment annotation extension for TrEd
## Installation
1. Install [TrEd](http://ufal.mff.cuni.cz/tred/).
2. Install nondeprel\_common extension: Run tred -> Setup -> Manage extensions -> Get New Extensions. Then select tne nondeprel\_common extension and click Install Selected).
3. Install this extension manually: clone this repository into ~/.tred.d/extensions/sentiment, then edit ~/.tred.d/extensions/extensions.lst file and add a line "sentiment" to it.
## Usage
Open a file with tectogrammatical annotation (.t.gz file). Select PML\_T\_Sentiment mode. Click Macros -> Current Mode -> Init sentiment attributes. If you are asked if you want to save the file, click Yes. Doubleclick a node and you will see that there are sentiment related attributes: sentiment\_eval, sentiment\_source.rf sentiment\_target.rf.
To annotate, select a node representing an assessing word and "remember it" pressing space. Then select a source of assessment and press s, then select a target of assessment and press t. Finally assing the sentiment\_eval attribute value POSITIVE or NEGATIVE.