Yes Jorn, this is something I was also thinking to, so I will define a
BaseEntity too to handle that.
Thanks again.
Tommaso

2010/9/3 Jörn Kottmann <[email protected]>

>  Thanks,
> one more question.
>
> Wouldn't it be possible to define a common
> base type which all the entity types could extend ?
> Because right now the features of the entities are defined
> over and over again.
>
> Jörn
>
>
> On 9/3/10 11:00 AM, Tommaso Teofili wrote:
>
>> Hi Jörn,
>> you're right, in fact extracted AlchemyAPI types get updated from time to
>> time so it may occasionally happen that the type system (and the generated
>> classes) is "out of sync" with the latest list of types available. I've
>> checked it and also GeographicalFeature is missing, I've made the fix and
>> will commit it along with a method to handle an "out of sync" type system
>> later today.
>> Thanks,
>> Tommaso
>>
>> 2010/9/3 Jörn Kottmann<[email protected]>
>>
>>   Hi,
>>>
>>> just tried to use the Alchemy Annotator to detect entities.
>>>
>>> To get started, everything is configured by the sample
>>> TextRankedEntityExtractionAEDescriptor.xml descriptor.
>>>
>>> The AE is feed with swedish news article.
>>>
>>> After analyzing quite a few articles I get a ClassNotFoundException:
>>> Caused by: org.apache.uima.alchemy.utils.exception.MappingException:
>>> java.lang.ClassNotFoundException:
>>> org.apache.uima.alchemy.ts.entity.Automobile
>>>    at
>>>
>>> org.apache.uima.alchemy.utils.Alchemy2TypeSystemMapper.mapRankedEntities(Alchemy2TypeSystemMapper.java:101)
>>>    at
>>>
>>> org.apache.uima.alchemy.annotator.TextRankedNamedEntityExtractionAnnotator.mapResultsToTypeSystem(TextRankedNamedEntityExtractionAnnotator.java:45)
>>>    at
>>>
>>> org.apache.uima.alchemy.annotator.AbstractAlchemyAnnotator.process(AbstractAlchemyAnnotator.java:126)
>>>
>>> Shouldn't that class be generated during the build  ?
>>> I used the current head code.
>>>
>>> Thanks,
>>> Jörn
>>>
>>>
>

Reply via email to