Skip to content

masek/tred-sentiment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Sentiment annotation extension for Tred

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published