You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2011/04/17 14:54:05 UTC

[jira] [Created] (UIMA-2127) CAS annotation pointing to type system

CAS annotation pointing to type system
--------------------------------------

                 Key: UIMA-2127
                 URL: https://issues.apache.org/jira/browse/UIMA-2127
             Project: UIMA
          Issue Type: Wish
          Components: CasEditor
            Reporter: Richard Eckart de Castilho


I think it would be great if the CAS editor could define a CAS type pointing to the type system. CAS consumers could use that type to store a reference to a remote type system (cf. XML schema/DTD) or to a local type system in a location absolute or relative to the XMI file. For example:

org.apache.uima.caseditor.TypeSystemMetaData
- location = http://myserver/types.xml
- location = file:../../typesystem.xml
- location = file:/home/uima/filesystem.xml



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (UIMA-2127) CAS annotation pointing to type system

Posted by "Joern Kottmann (Closed) (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann closed UIMA-2127.
--------------------------------

    Resolution: Won't Fix

The Cas Editor will not provide this mechanism by default if the UIMA core framework itself does not has support for it.

To work around this issue I suggest to implement a custom Cas Editor integration, or to request support for user defined type system search strategies (then a small plugin could load the ts from the http server).
                
> CAS annotation pointing to type system
> --------------------------------------
>
>                 Key: UIMA-2127
>                 URL: https://issues.apache.org/jira/browse/UIMA-2127
>             Project: UIMA
>          Issue Type: Wish
>          Components: CasEditor
>            Reporter: Richard Eckart de Castilho
>
> I think it would be great if the CAS editor could define a CAS type pointing to the type system. CAS consumers could use that type to store a reference to a remote type system (cf. XML schema/DTD) or to a local type system in a location absolute or relative to the XMI file. For example:
> org.apache.uima.caseditor.TypeSystemMetaData
> - location = http://myserver/types.xml
> - location = file:../../typesystem.xml
> - location = file:/home/uima/filesystem.xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (UIMA-2127) CAS annotation pointing to type system

Posted by "Jörn Kottmann (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065164#comment-13065164 ] 

Jörn Kottmann commented on UIMA-2127:
-------------------------------------

I understand your issue, currently it is cumbersome to work with multiple different type systems in one project. One way to improve this could be too set a type system on a folder level also.

I am not so fond of using some special mechanism to resolve a type system, because that is difficult to use for others, but  it should at least be possible for you to write a plugin which can resolve a type system in the described way, we will take this into account when working on the Cas Editor API.

> CAS annotation pointing to type system
> --------------------------------------
>
>                 Key: UIMA-2127
>                 URL: https://issues.apache.org/jira/browse/UIMA-2127
>             Project: UIMA
>          Issue Type: Wish
>          Components: CasEditor
>            Reporter: Richard Eckart de Castilho
>
> I think it would be great if the CAS editor could define a CAS type pointing to the type system. CAS consumers could use that type to store a reference to a remote type system (cf. XML schema/DTD) or to a local type system in a location absolute or relative to the XMI file. For example:
> org.apache.uima.caseditor.TypeSystemMetaData
> - location = http://myserver/types.xml
> - location = file:../../typesystem.xml
> - location = file:/home/uima/filesystem.xml

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (UIMA-2127) CAS annotation pointing to type system

Posted by "Jörn Kottmann (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020975#comment-13020975 ] 

Jörn Kottmann commented on UIMA-2127:
-------------------------------------

I also believe that this should be done on a framework level, its an issue for every application which want to do something with the CASes. A URL references to the ts might be a good idea, have there been previous thoughts within the UIMA teams to implement such a reference?

Do you mind to explain your Cas Editor use case a little?

Currently (2.3.2-SNAPSHOT) a ts file must be located somewhere in the workspace that could be extended to also support http remote type systems.

> CAS annotation pointing to type system
> --------------------------------------
>
>                 Key: UIMA-2127
>                 URL: https://issues.apache.org/jira/browse/UIMA-2127
>             Project: UIMA
>          Issue Type: Wish
>          Components: CasEditor
>            Reporter: Richard Eckart de Castilho
>
> I think it would be great if the CAS editor could define a CAS type pointing to the type system. CAS consumers could use that type to store a reference to a remote type system (cf. XML schema/DTD) or to a local type system in a location absolute or relative to the XMI file. For example:
> org.apache.uima.caseditor.TypeSystemMetaData
> - location = http://myserver/types.xml
> - location = file:../../typesystem.xml
> - location = file:/home/uima/filesystem.xml

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (UIMA-2127) CAS annotation pointing to type system

Posted by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021009#comment-13021009 ] 

Richard Eckart de Castilho commented on UIMA-2127:
--------------------------------------------------

I have cases where I have a single project containing various pipelines coded in Java that write their output to different folders. It would be nice if I could include some annotation in the written XMI files that tell the CAS editor where to find the type system for that particular XMI file.

Currently when I run one pipeline, I have it afterwards dump it's type system to the project root where the CAS Editor can find it. But that means that I cannot open XMI files anymore that were created by another pipeline using a different type system.

> CAS annotation pointing to type system
> --------------------------------------
>
>                 Key: UIMA-2127
>                 URL: https://issues.apache.org/jira/browse/UIMA-2127
>             Project: UIMA
>          Issue Type: Wish
>          Components: CasEditor
>            Reporter: Richard Eckart de Castilho
>
> I think it would be great if the CAS editor could define a CAS type pointing to the type system. CAS consumers could use that type to store a reference to a remote type system (cf. XML schema/DTD) or to a local type system in a location absolute or relative to the XMI file. For example:
> org.apache.uima.caseditor.TypeSystemMetaData
> - location = http://myserver/types.xml
> - location = file:../../typesystem.xml
> - location = file:/home/uima/filesystem.xml

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira