OK, I can help, though you need to be a little more clear about what you need.
There is an example of a dictionary in the distribution, in
resources/dict/testDict.xml
and there are example descriptors in:
desc/analysis_engine
In particular,
desc/analysis_engine/primitive/ConceptMapperOffsetTokenizer.xml
configures ConceptMapper (using the supplied OffsetTokenizer to tokenize the
dictionary), and
desc/analysis_engine/aggregate/OffsetTokenizerMatcher.xml
is an aggregate that first runs the text through the OffsetTokenizer (the same
one as was used to tokenize the dictionary entries), and then uses
ConceptMapper to do the named entity discovery. The documentation tries to
explain both the configuration parameters and the dictionary layout, but if
things are unclear, let me what know you feel needs to be explained more
clearly.
I hope this helps...Michael
On Nov 23, 2009, at 8:55 AM, Stefano Ortona wrote:
> Hi,
>
> i'd like to use the Concept Mapper annotator of UIMA sandbox but, since i'm
> not expert of this project, it's not really clear how do i have to
> configurate the parameters when i'm writing the analysis engine descriptor.
> I need to write a really simple example and i'm trying to understand what
> should i use for all the parameters (in particular i don't understand how to
> configurate the dictionary).
> Can someone help me?
>
> Thank you,
>
> Stefano