Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new annotation proposal] Sentiment Analysis #16

Closed
proycon opened this issue Aug 10, 2016 · 0 comments
Closed

[new annotation proposal] Sentiment Analysis #16

proycon opened this issue Aug 10, 2016 · 0 comments
Assignees
Labels
enhancement ready Implemented but not released yet
Milestone

Comments

@proycon
Copy link
Owner

proycon commented Aug 10, 2016

FoLiA currently has the token annotation subjectivity for limited sentiment analysis or other subjectivity annotation, it is used by the VU-DNC corpus for instance. This, however, is not sufficient for more complex expressions of sentiment. A strong span annotation element is needed. The following proposal is inspired on NAF's opinion layer:

<s>
 <w xml:id="w1"><t>He</t></w>
 <w xml:id="w2"><t>is</t></w>
 <w xml:id="w3"><t>happy</t></w>
 <w xml:id="w4"><t>to</t></w>
 <w xml:id="w5"><t>see</t></w>
 <w xml:id="w6"><t>him</t></w>
 <w xml:id="w7"><t>.</t></w>
 <sentiments>
  <sentiment class="emotion.joy" polarity="positive" strength="moderate">
    <source>
      <wref id="w1" t="he" />
    </source>
    <target>
      <wref id="w6" t="him" />
    </target>
    <hd>
      <wref id="w3" t="happy" />
    </hd>
  </sentiment>
 </sentiments>
</s>

This predefines the following feature subsets, whether they are actually used and the class values they take are defined by the set.

  • polarity
  • strength

The following span role elements are introduced and used (will be reused in another upcoming proposal as well):

  • source - The source/holder of the sentiment (optional)
  • target - The target/recipient of the sentiment (optional)
  • hd - The head contains the sentiment itself (required)
@proycon proycon added this to the v1.3 milestone Aug 10, 2016
@proycon proycon self-assigned this Aug 10, 2016
proycon added a commit that referenced this issue Aug 10, 2016
…ection (issue #15) and sentiment over subjectivity (issue #16)
proycon added a commit to proycon/pynlpl that referenced this issue Aug 11, 2016
@proycon proycon added the ready Implemented but not released yet label Aug 11, 2016
@proycon proycon closed this as completed Sep 1, 2016
proycon added a commit to proycon/foliapy that referenced this issue Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ready Implemented but not released yet
Projects
None yet
Development

No branches or pull requests

1 participant