Hi Ahmed,
The answers to your questions are inline your e-mail:
Ahmed Yousry wrote:
Hello Philip,
I have some questions, and I want your help please.
First, I use windows XP and KIM version 2.3-CR1
Mainly, my concern is in code and APIs, not in KIM web interface.
1- I want to change corpus I work on, I used "populate GUI" to do
that, and it indexed the new corpus folder I specified for it.
But when I run example to return entities it returned to me
the same results as before with old corpus.
I tried to start Kim with rebuild index
"startKIM_RebuildIndex.bat", but also nothing
Actually, I want to remove or re index the corpus, how can I
do that ?!
KIM can use Lucene or Oracle as document repository. Lucene keeps its
indexes in context/default/populated/index-and-store and Oracle keeps
its indexes in the Oracle database. The semantic repository keeps its
cache in context/default/populated folder too. So in order to use
another corpus, you should clear the document repository and the
semantic repository cache first. You can do that by deleting the
contents of context/default/populated. And if you are using Oracle as a
document repository - the next time you start the KIM server, you should
perform re-indexing ( use the startKIM_RebuildIndex instead of startKIM ) .
2- I want to annotate document by document in my corpus, and for
each one of them I want to get all entities and relations between
these entities in that document only, not over all corpus.
You can choose one document at a time, instead of a whole directory. The
effect is accumulative. The document is added to the corpus. It does not
overwrite it.
3- I want to ask also about how to generate all relations between
all entities in one document. using at least predefined relations.
used by KIM. e.g (Person, hasJob, President).
4- Last question about KIM APIs for relations extraction between
entities, It had been written in KIM web site since July 2008, that it
will be provided soon, and also in some mails in the mailing list.
Do we expect it soon and when?
KIM 2.3-RC1 supports relation extraction.
Thank you very much for your help.
Best Regards,
Ahmed Yousry
_______________________________________________
Kim-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion