UTHealth-CCB / clamp-support

Clinical Language Annotation Modeling and Processing toolkit
http://clamp.uth.edu/
16 stars 2 forks source link

Use annotations from other tools in Clamp #35

Closed Medical-NLP closed 4 years ago

Medical-NLP commented 4 years ago

How to use annotations from other tools in Clamp? The format is different from the xmi files generated in Clamp.

melax-support commented 4 years ago

Hi Kevinw2013,

Thanks for your question. You can convert the format to xmi conveniently using Clamp APIs Clamp provides APIs to create and save xmi, together with collections of text, name entities and relations inside.

Medical-NLP commented 4 years ago

Thanks.

Could you please provide some example code about using Clamp APIs to convert the annotation format of other tools to the xmi format used in Clamp?

melax-support commented 4 years ago

Sure. Will share the sample code in github.

Medical-NLP commented 4 years ago

Great. Thanks.