inception-project / inception

INCEpTION provides a semantic annotation platform offering intelligent annotation assistance and knowledge management.
https://inception-project.github.io
Apache License 2.0
585 stars 149 forks source link

Popularity prior for custom KBs #96

Open rcffc opened 6 years ago

rcffc commented 6 years ago

@reckart (from https://github.com/inception-project/inception/issues/88): In principle, there'd be an additional popularity prior: number of mentions in the current project that are linked to a given concept. IMHO that would be the best option for custom KBs.

That could be a local prior specific to the project. A disadvantage of this would be that we don't have any linked mentions right at the beginning. We could also use the number of entities that are linked to an entity e or the number of relations that link to e (both in- and outgoing edges) as a KB - global prior, which already exists. These two approaches however will only work with small KBs where we get < 25 candidates for each mention to maintain responsiveness. The problem is that it takes a while to process a SPARQL query, for computing the semantic signature a single query takes about 60ms.

rcffc commented 5 years ago

@naveen2507 How can I find out the number of mentions in the current project that are linked to a given concept?