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 2015/05/24 03:00:20 UTC

[jira] [Resolved] (UIMA-3583) More convenient way to create (J)Cas using text and language

     [ https://issues.apache.org/jira/browse/UIMA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Eckart de Castilho resolved UIMA-3583.
----------------------------------------------
    Resolution: Fixed
      Assignee: Richard Eckart de Castilho

> More convenient way to create (J)Cas using text and language
> ------------------------------------------------------------
>
>                 Key: UIMA-3583
>                 URL: https://issues.apache.org/jira/browse/UIMA-3583
>             Project: UIMA
>          Issue Type: Improvement
>          Components: uimaFIT
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Minor
>             Fix For: 2.2.0uimaFIT
>
>
> It would be nice to have a method to create a JCas using text and language:
> {noformat}
> JCasFactory.createJCasWithText("en", "This is a test.");
> {noformat}
> It could also be considered having such a method in JCasUtil (and CasUtil) to avoid an extra import of JCasFactory, maybe under a more concise name, e.g 
> {noformat}
> JCasUtil.createText("en", "this is a test");
> CasUtil.createText("en", "this is a test");
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)