uimaj-examples: opennlp_wrappers not compatible with opennlp 1.4.x ------------------------------------------------------------------
Key: UIMA-1306 URL: https://issues.apache.org/jira/browse/UIMA-1306 Project: UIMA Issue Type: Improvement Components: Examples Affects Versions: 2.2.2 Environment: UIMA version: 2.2.2 OpenNLP version: 1.4.3 OS: Windows XP (SP2) Java version: >java -version java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing) Reporter: Dave Jones Priority: Blocker The OpenNLP namefind package changed somewhat for 1.4.x. The OpenNLP wrapper examples that are shipped with UIMA seem to still be written for compatibility with OpenNLP 1.3.x. As a result, the uimaj-examples opennlp_wrappers examples do not compile against OpenNLP 1.4.x. The most difficult to resolve problems are in the class org.apache.uima.examples.opennlp.annotator.NEDetector . This class will need to be re-written inorder to use the namefind interfaces in OpenNLP1.4.x. In particular, the following method no longer exists in OpenNLP: opennlp.tools.lang.english.NameFinder.find(ArrayList, Map) . Of course, since the method no longer exists, compilation fails. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.