ClearTK/cleartk

Neither of the Document classifications are working.

Closed this issue · 3 comments

Original issue 394 created by ClearTK on 2013-11-26T16:22:37.000Z:

What steps will reproduce the problem?

Install clerk using Eclipse as per the guidelines provided in User setup

What is the expected output?

The first step is to train using Usenet data

What do you see instead?
It can't find the JCas type
Caused by: org.apache.uima.cas.CASRuntimeException: JCas type "org.cleartk.examples.type.UsenetDocument" used in Java code, but was not declared in the XML type descriptor

What version of the product are you using? On what operating system?

The latest on MAC OSX; Java version 1.7.x -- all other example programs are working fine in the same setup.

Comment #1 originally posted by ClearTK on 2013-11-26T17:12:44.000Z:

<empty>

Comment #2 originally posted by ClearTK on 2014-04-12T18:13:25.000Z:

I have verified that this is indeed the behavior. It appears that it is a simple matter of moving the file src/main/resources/META-INF/org.uimafit to src/main/resources/META-INF/org.apache.uima.fit so that the type system is correctly loaded. It appears that the basic document classifier is now working. I will verify the other and then check in a fix.

Thank you for reporting this! Apologies for the delayed fix.

Comment #3 originally posted by ClearTK on 2014-04-12T18:32:11.000Z:

I added a println to the end of BasicDocumentClassificationAnnotator.process so that the user sees something.