Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 1.08 KB

README.md

File metadata and controls

16 lines (9 loc) · 1.08 KB

tred-sentiment

Sentiment annotation extension for TrEd

Installation

  1. Install 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 assign the sentiment_eval attribute value POSITIVE or NEGATIVE.