Richard Eckart de Castilho created UIMA-3583:
------------------------------------------------
Summary: Add createJCasWithText() method
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)