On 6/26/07, Michael Baessler <[EMAIL PROTECTED]> wrote:
Good news...

The create a CAS from a type system, you can use the CasCreationUtils class.


More specifically (since CasCreationUtils has a LOT of methods):

TypeSystemDescription typeSysDesc =
UIMAFramework.getXMLParser().parseTypeSystemDescription(new
XMLInputSource(yourTypeSystemDescriptorFile));

CAS cas = CasCreationUtils.createCas(typeSysDesc, null, null);
//the last two args are for indexes and type priorities, if you need them.


-Adam

Reply via email to