|
From: Dicheva, D. <dic...@ws...> - 2008-06-10 20:52:14
|
Hello Lars,
Just to report: no luck :-(
I included tmSysFac.setProperty("tm4j.static.merge", "true");
but it didn't help...
So, if in a topic map the merge byTopicName feature is set
(tmfac.setFeature("http://tmapi.org/features/merge/byTopicName",true);),
one cannot delete topics and create them back... It is strange, isn't
it? Do you have an idea what is the logic behind?
Obviously, I have to give up on using the merge by topic name feature.
Thanks for your help anyway - you saved me bunch of time :-)
All the very best,
Darina
> -----Original Message-----
> From: Dicheva, Darina
> Sent: Monday, June 09, 2008 11:15 AM
> To: 'he...@se...'
> Subject: RE: Problem to create a new topic using the name of
> a deleted topic
>
> Lars,
>
> > > Unfortunately, I need to merge topic maps ...
> >
> > Well, just to ensure that we're talking about the same thing here:
> > That feature is not
> > needed if you want to merge topic maps. This feature is
> needed if you
> > want that topic A with the name "Darina" is merged with
> topic B which
> > has also the name "Darina". But that feature may cause
> trouble if you
> > have Paris Hilton and the city Paris in one map. Both
> topics may have
> > a name "Paris" and so Paris Hilton will be merged with the city.
>
> Yes, I understand that - but this is what we wanted for a
> particular project - we generate automatically small topic
> maps from webpages of one site and want to merge them - there
> is no danger of confusion since we collect terms wich belong
> to a particular subject domain.
>
> > > How can I do that? I looked in the TMAPITopicMapSystemFactoryImpl
> > > class and didn't see such a feature and I don't know how to
> > directly
> > > access TM4J features.
> >
> > TopicMapSystemFactory tmSysFac; // Assumed to be there
> >
> > tmSysFac.setProperty("tm4j.static.merge", "true");
>
> Thanks! I will try it and let you know the result.
>
> Thanks again for your help.
> Cheers,
> Darina
>
> > --
> > Semagia
> > <http://www.semagia.com/>
> >
|