[ https://issues.apache.org/jira/browse/UIMA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Eckart de Castilho updated UIMA-3583: --------------------------------------------- Summary: More convenient way to create (J)Cas using text and language (was: Add createJCasWithText() method) > 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 > Priority: Minor > Fix For: 2.0.1uimaFIT > > > 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.1.5#6160)