dkpro / dkpro-core

Collection of software components for natural language processing (NLP) based on the Apache UIMA framework.
https://dkpro.github.io/dkpro-core
Other
196 stars 67 forks source link

Named Entities in LIF wrongly encoded #1399

Closed jcklie closed 5 years ago

jcklie commented 5 years ago

The "type" of NamedEntity is put in the LIF label feature rather than the category as LIF expects. That is, we get:

{ "@type":"http://vocab.lappsgrid.org/NamedEntity", "label": "PROTEIN",  ... }

rather than:

{ "@type":"http://vocab.lappsgrid.org/NamedEntity", "features": { "category":"PROTEIN", ...}, ... }

See also the LIF specification.