freme-project / e-Entity

Apache License 2.0
1 stars 1 forks source link

Doubt spotted entityes #62

Closed x-fran closed 8 years ago

x-fran commented 8 years ago

In this case Madrid should not be spotted as entity?

I only have 2 entities. "Real Madrid" and "Atlético de Madrid".

http://api.freme-project.eu/0.4/e-entity/freme-ner/documents?informat=text&outformat=json-ld&language=en&dataset=dbpedia&mode=spot

{
  "@graph": [
    {
      "@id": "http://freme-project.eu/#char=0,86",
      "@type": [
        "nif:String",
        "nif:Context",
        "nif:RFC5147String"
      ],
      "beginIndex": "0",
      "endIndex": "86",
      "nif:isString": "Madrid is home to two world-famous football clubs, Real Madrid and Atlético de Madrid."
    },
    {
      "@id": "http://freme-project.eu/#char=51,62",
      "@type": [
        "nif:RFC5147String",
        "nif:String",
        "nif:Phrase",
        "nif:Word"
      ],
      "nif:anchorOf": "Real Madrid",
      "beginIndex": "51",
      "endIndex": "62",
      "referenceContext": "http://freme-project.eu/#char=0,86",
      "itsrdf:taConfidence": 0.9995149675191288
    },
    {
      "@id": "http://freme-project.eu/#char=67,85",
      "@type": [
        "nif:RFC5147String",
        "nif:String",
        "nif:Phrase",
        "nif:Word"
      ],
      "nif:anchorOf": "Atlético de Madrid",
      "beginIndex": "67",
      "endIndex": "85",
      "referenceContext": "http://freme-project.eu/#char=0,86",
      "itsrdf:taConfidence": 0.7305010183285464
    }
  ]
}
m1ci commented 8 years ago

Should be spotted but note that NER is performed automatically and thus it is never 100% correct. So In this case you received 2 spotted entities out of 3.

x-fran commented 8 years ago

I just wanted to know if I'm wrong or right but also inform about this maybe is there something you can do about to fix it. Thank you.