[
https://issues.apache.org/jira/browse/UIMA-3669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13924813#comment-13924813
]
Peter Klügl commented on UIMA-3669:
-----------------------------------
That depends on personal preferences. I normally have leniently activated and
previous type system deactivated when I develop rules. So, always the type
system of the script I currently develop is applied for opening the CAS Editor.
If I need a different type system for the CAS Editor, I just launch the
corresponding script. Sometimes, when I switch often between projects, I create
a script named Complete.ruta that imports all type systems and scripts of the
project. I set then the type system in the properties to CompleteTypesystem.xml
so that it is always used in this project. If I add new types in any script,
then they are present when opening an xmiCAS. However, others use different
configurations.
> Problem with Annotation Declaration, Error parsing XCAS or XMI-CAS from
> source <unknown> at line 1, column 75407: unknown type:
> com.uima.RutaTesting.Gather_Testing.C.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-3669
> URL: https://issues.apache.org/jira/browse/UIMA-3669
> Project: UIMA
> Issue Type: Question
> Components: CasEditor, ruta
> Reporter: Nick Kolivas
> Assignee: Peter Klügl
>
> Hello there all,
> I am new to Ruta and trying to find my way around,
> I have created some scripts that do some annotating from csv files and trying
> to construct some more complex annotation by combining 2 Annotations to
> create a new one that has Annotation Type Features.
> My script:
> PACKAGE com.uima.RutaTesting;
> SCRIPT com.uima.RutaTesting.Disctionary_Annotators;
> SCRIPT com.uima.RutaTesting.SpeedDiscription;
> DECLARE Annotation C (SpeedDiscriptor F1, Target F2);
> Document{->CALL(Disctionary_Annotators)};
> Document{->CALL(SpeedDiscription)};
> SpeedDiscriptor Target {->
> CREATE (C, "F1"=SpeedDiscriptor, "F2"=Target),
> SHIFT(SpeedDiscriptor,1,2)};
> When I try to annotate the text i get the error : Error parsing XCAS or
> XMI-CAS from source <unknown> at line 1, column 75407: unknown type:
> com.uima.RutaTesting.Gather_Testing.EmplRelation.
> I cannot understand why this happens..Any ideas?
--
This message was sent by Atlassian JIRA
(v6.2#6252)