Skip to content

Document additional entity type - #7

Merged
ragerri merged 1 commit into
ixa-ehu:naffrom
c-w:naf
May 16, 2017
Merged

ragerri merged 1 commit into
ixa-ehu:naffrom
c-w:naf

Conversation

@c-w

@c-w c-w commented May 11, 2017

Copy link
Copy Markdown
Contributor

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>

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

ragerri commented May 16, 2017 via email

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants