Hi,

we have used the type system merging feature for some of our pipelines. (It came in handy because we needed some special features for the Token type in our NER).

Chavan, Girish schrieb:
The problem is that I have another Type System that needs to be merged
with this one before I persist it.
The way we achieved this was simply by importing the type system to be merged in the type system descriptor of the overall type system.

So if you have two type systems t1, t2 you could create a third type system t3 that simply imports t1 and t2.

TypeSystem ts = createCAS(tsDesc).getTypeSystem();


Your tsDesc would be t3 then.

Hope this helps,

Matthias

I could use the TypeSystemDescription.addType method to add the types
individually, but is there an easier way to merge two type system
descriptions?
Thanks

_______________

Girish Chavan, MSIS

Department of Biomedical Informatics (DBMI)
University of Pittsburgh
UPMC Cancer Pavilion, 302D
5150 Centre Avenue
Pittsburgh, PA  15232

Office: 412-623-4084

Email: [email protected]




--
--------------------------------
Matthias Wendt
Junior Softwareentwickler
F&E

neofonie
Technologieentwicklung und
Informationsmanagement GmbH
Robert-Koch-Platz 4
10115 Berlin
fon: +49.30 24627 529
fax: +49.30 24627 120
[email protected]
http://www.neofonie.de
Handelsregister
Berlin-Charlottenburg: HRB 67460

Geschaeftsfuehrung
Helmut Hoffer von Ankershoffen
Nurhan Yildirim
--------------------------------

Reply via email to