Commits

Anonymous committed 23b486d

Comments (0)

Files changed (1)

 Tweets in the HCR datasets are annotated for target as well as sentiment. To extract the list of targets for one of the HCR datasets (necessary to perform per-target evaluation), add a third argument before the '>' to the HCR preprocessing command, where that argument is a target output filename. For example, this will extract the targets from HCR-dev:
 
 {{{
-$ updown preproc-hcr data/hcr/dev/orig/hcr-dev.csv src/main/resources/eng/dictionary/stoplist.txt data/hcr/dev/hcr-dev-targets.txt > data/hcr/dev/hcr-dev-features.txt
+$ updown preproc-hcr data/hcr/dev/orig/hcr-dev.csv src/main/resources/eng/dictionary/stoplist.txt
+    data/hcr/dev/hcr-dev-targets.txt > data/hcr/dev/hcr-dev-features.txt
 }}}
 
 Whenever running the above experiments on an HCR dataset for which targets have been extracted, you can point to the appropriate target file with the -t flag and see a breakdown of results per target. For example, this command will run per-target evaluation on HCR-dev after performing the default label propagation:
 
 {{{
-$ updown 8 junto -g data/hcr/dev/hcr-dev-features.txt -m models/maxent-eng.mxm -p src/main/resources/eng/lexicon/subjclueslen1polar.tff -f data/hcr/username-username-edges.txt -r src/main/resources/eng/model/ngramProbs.ser.gz -t data/hcr/dev/hcr-dev-targets.txt 
+$ updown 8 junto -g data/hcr/dev/hcr-dev-features.txt -m models/maxent-eng.mxm -p
+    src/main/resources/eng/lexicon/subjclueslen1polar.tff -f data/hcr/username-username-edges.txt -r src/main/resources/eng/model/ngramProbs.ser.gz -t data/hcr/dev/hcr-dev-targets.txt 
 }}}
 
 You should see the following output: