uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Debbie Zhang" <debbie.d.zh...@gmail.com>
Subject RE: UIMA Addons ConceptMapper - where to start
Date Sun, 02 Mar 2014 06:04:52 GMT
Thanks Marshall. I have no problem of following the UIMA getting_started
tutorial and have successfully created my own applications with my own
annotators. I think I should ask my question more specifically.

I created a new project called: ConceptMapperTest. I added UIMA nature to
the project. I copied every files under desc and resources folders in the
downloaded package to the desc and resources folders in the
ConceptMapperTest project. I can use "Component Descriptor Editor" to open
DictTerm.xml and OffsetTokenizer.xml. However, when I use "Component
Descriptor Editor" to open ConceptMapperOffsetTokenizer.xml and
OffsetTokenizerMatcher.xml, I have the following error:

The descriptor has one or more errors. Please fix in the source editor.
ResourceInitializationException: An import could not be resolved. No file
with name
"org/apache/uima/conceptMapper/DictTerm.xml" was found in the class path or 
data path.

Therefore, I created all subfolders org/apache/uima/conceptMapper under
desc, and then put all xml files to there. However, I still have the above
error when I try to open ConceptMapperOffsetTokenizer.xml and
OffsetTokenizerMatcher.xml files with "Component Descriptor Editor".

Would you please let me know what I did wrong? Thank you very much for your



-----Original Message-----
From: Marshall Schor [mailto:msa@schor.com] 
Sent: Sunday, 2 March 2014 2:30 AM
To: user@uima.apache.org
Subject: Re: UIMA Addons ConceptMapper - where to start

Hi Debbie,

On 2/28/2014 2:35 AM, Debbie Zhang wrote:
> Hi all,
> I would like to learn how to use ConceptMapper in the UIMA Addons. So 
> far, what I have done was to add ConceptMapper jar file to my project 
> path and attach the doc jar file to the jar file. I have read through 
> the documentation came with the package. However, I still don't have  
> a clue how to use ConceptMapper in a Java program.
Concept Mapper is a UIMA Annotator - you use it as a component within a UIMA
There's a quick start for UIMA here:

Hope that Helps!  -Marshall

> Can anyone point me to the
> direction? A "Hello World" program would be greatly appreciated. Thank
> Regards,
> Debbie

View raw message