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

Documentation for applications has non-working examples of API use (wrong number of args, reversed args)

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1, 2.2
    • 2.2.2
    • Documentation
    • None

    Description

      We should check the tutorial examples in the documentation - perhaps by adding them to the examples project so that if they would not compile, we could tell. Currently found in Tutorial & User's Guide, application chapter:

      mAnalysisEngine = UIMAFramework.produceAnalysisEngine(specifier,3); <<< FAILS, no such signature

      //create CAS pool with 3 CAS instances
      mCasPool = new CasPool(mAnalysisEngine,3); <<< Fails, arguments reversed

      There are likely others...

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment