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

Document additional entity type #7

Merged
merged 1 commit into from May 16, 2017

Conversation

Projects
None yet
2 participants
@c-w
Copy link
Contributor

commented May 11, 2017

Extracting named entities from a phrase like "A mi me piace Roma." tags Rome as a Geo-Political Entity (GPE) instead of a Location Entity. Updating the documentation to reflect this.

Example KAF document:

<NAF xml:lang="it" version="v1.naf">
  <nafHeader />
  <text>
    <wf id="w1" offset="0" length="1" sent="1" para="1">A</wf>
    <wf id="w2" offset="2" length="2" sent="1" para="1">mi</wf>
    <wf id="w3" offset="5" length="2" sent="1" para="1">me</wf>
    <wf id="w4" offset="8" length="5" sent="1" para="1">piace</wf>
    <wf id="w5" offset="14" length="4" sent="1" para="1">Roma</wf>
    <wf id="w6" offset="18" length="1" sent="1" para="1">.</wf>
  </text>
  <terms>
    <!--A-->
    <term id="t1" type="close" lemma="a" pos="P" morphofeat="ADP">
      <span>
        <target id="w1" />
      </span>
    </term>
    <!--mi-->
    <term id="t2" type="close" lemma="mi" pos="Q" morphofeat="PRON">
      <span>
        <target id="w2" />
      </span>
    </term>
    <!--me-->
    <term id="t3" type="close" lemma="me" pos="Q" morphofeat="PRON">
      <span>
        <target id="w3" />
      </span>
    </term>
    <!--piace-->
    <term id="t4" type="open" lemma="piacere" pos="V" morphofeat="VERB">
      <span>
        <target id="w4" />
      </span>
    </term>
    <!--Roma-->
    <term id="t5" type="close" lemma="roma" pos="R" morphofeat="PROPN">
      <span>
        <target id="w5" />
      </span>
    </term>
    <!--.-->
    <term id="t6" type="close" lemma="." pos="O" morphofeat="PUNCT">
      <span>
        <target id="w6" />
      </span>
    </term>
  </terms>
  <entities>
    <entity id="e1" type="GPE">
      <references>
        <!--Roma-->
        <span>
          <target id="t5" />
        </span>
      </references>
    </entity>
  </entities>
</NAF>
Document additional entity type
Extracting named entities from a phrase like "A mi me piace Roma." tags Rome as a Geo-Political Entity (GPE) instead of a Location Entity. Updating the documentation to reflect this.

@ragerri ragerri merged commit 69f411e into ixa-ehu:naf May 16, 2017

@ragerri

This comment has been minimized.

Copy link
Collaborator

commented May 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.