Is your feature request related to a problem? Please describe.
When dealing TEI data, the xmi:id field is often used to keep track of correlated annotations. However, the TeiReader and TeiWriter discard that attribute except on the document itself.
Describe the solution you'd like
Some DKPro Core types like token, sentence and div have a feature to store an external ID. It would be nice if the TEI elements which are mapped to these types retain their xml:id in this field.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe. When dealing TEI data, the
xmi:id
field is often used to keep track of correlated annotations. However, theTeiReader
andTeiWriter
discard that attribute except on the document itself.Describe the solution you'd like Some DKPro Core types like token, sentence and div have a feature to store an external ID. It would be nice if the TEI elements which are mapped to these types retain their
xml:id
in this field.Additional context Add any other context or screenshots about the feature request here.