Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3583

More convenient way to create (J)Cas using text and language

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.0uimaFIT
    • uimaFIT
    • None

    Description

      It would be nice to have a method to create a JCas using text and language:

      JCasFactory.createJCasWithText("en", "This is a test.");
      

      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

      JCasUtil.createText("en", "this is a test");
      CasUtil.createText("en", "this is a test");
      

      Attachments

        Activity

          People

            rec Richard Eckart de Castilho
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: