I'm using the deafult dictionary file, so it is in the default directory
(<my_workspace>/DictionaryAnnotator/resources) and I set the datapath with
the absolute path of the file
(<my_workspace>/DictionaryAnnotator/resources/dictionary.xml), as described
in the UIMA CDE Property Page.

2009/12/3 Thilo Goetz <[email protected]>

> Hi Antonella,
>
> please tell us where you put the dictionary and what you
> set the datapath to.
>
> --Thilo
>
>
> On 12/3/2009 10:42, Antonella Laterza wrote:
>
>> Hi everyone,
>> I'm really new to UIMA and I need some help with the DictionaryAnnotator
>> component.
>> When I try to execute the DictionaryAnnotator with the CAS Visual Debugger
>> or the Document Analyzer, I always get this error message:
>>
>> org.apache.uima.tools.cvd.MainFrame.handleException(575): GRAVE:
>> Initialization of annotator class
>> "org.apache.uima.annotator.dict_annot.impl.DictionaryAnnotator" failed.
>> org.apache.uima.resource.ResourceInitializationException: Initialization
>> of
>> annotator class
>> "org.apache.uima.annotator.dict_annot.impl.DictionaryAnnotator" failed.
>> [...]
>>
>> Caused by:
>>
>> org.apache.uima.annotator.dict_annot.impl.DictionaryAnnotatorConfigException:
>> "The resource file dictionary.xml could not be found."
>>
>>
>> I've read the DictionaryAnnotator User Guide (Chapter 3 - "Annotator
>> Configuration") and I've set the UIMA data path in order to include the
>> dictionary file...but it still doesn't work!
>>
>> Any suggestion?
>>
>>
>> Thanks in advance!
>>
>> Antonella
>>
>>
>> P.S.  I'm working with eclipse (with the Jazz Rational Team Concert
>> Eclipse
>> client, because I'm developing a Jazz plugin) and I've followed all the
>> steps to set up the Eclipse IDE to work correctly with UIMA. First I tried
>> to use the annotator included in the downloadable package, but it didn't
>> work. So I followed the steps described in the "Apache UIMA - Source Code"
>> page to check out the code from the repository and build it with maven and
>> now I've all java projects for the UIMA base and Sandbox in my eclipse
>> workspace.
>>
>>

Reply via email to