Closed jcklie closed 5 years ago
When reading a nif file that contains named entities that are linked to a knowledge base, e.g. https://github.com/munnellg/1641DepositionsCorpus , and writing it out with the NifWriter, it looses these identifiers. Looking into DKPro2Nif,
DKPro2Nif
String neIdentifier = uimaNamedEntity.getValue();
maybe should be
String neIdentifier = uimaNamedEntity.getidentifier();
and
if (neIdentifierIsUri) { nifNamedEntity.addProperty(pTaClassRef, m.createResource(neIdentifier)); }
if (neIdentifierIsUri) { nifNamedEntity.addProperty(pTaIdentRef, m.createResource(neIdentifier)); }
When reading a nif file that contains named entities that are linked to a knowledge base, e.g. https://github.com/munnellg/1641DepositionsCorpus , and writing it out with the NifWriter, it looses these identifiers. Looking into
DKPro2Nif
,maybe should be
and
maybe should be