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

                 Key: UIMA-552
                 URL: https://issues.apache.org/jira/browse/UIMA-552
             Project: UIMA
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 2.2, 2.1
            Reporter: Marshall Schor


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...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to