kermitt2 / entity-fishing

A machine learning tool for fishing entities

Home Page:http://nerd.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linking wikipedia/wikidata with only ‘ner’

aa303554 opened this issue · comments

When only the ner parameter is used in mentions, we still get some links to wikidata/Wikipedia, but with a different visual representation.

image

See ‘Suisse’ and ‘Ludlow’ in the example below.

image

Yet in the json, "Ludlow" and "Suisse" are similar.

How can there be a Wikipedia/Wikidata link without using the wikipedia parameter in mentions ?

Hi @aa303554 !

See the documentation, the mentions refers to the step of collecting terms to be disambiguated:

  • ner means we consider terms witch are named entities
  • wikipedia means we consider terms which are "labels" of pages in Wikipedia (as title, anchors, redirections)

Then all these terms are disambiguated against Wikipedia, so the "linking" is always present but for a different set of terms of interest. mentions simply define how to select terms which will be "linked".

If it appears unclear, would it be a way to clarify the documentation?

I am closing the issue - as it is answered by the documentation. Feel free to re-open it if you still have some doubts or if you think it's possible to improve the documentation.