Hi Marina,

The default IE module that comes with KIM will not recognize names, 
organizations, etc. containing such special symbols as it was designed for 
english - there are no such grammars, rules and gazeteer lists that define 
such names. So you cannot count on it to annotate them correctly. The only 
way for the moment to annotate such items is as you have done - define some 
trusted entities and annotate documents regarding them.

An easy way to check if a document containing such an entity has it 
correctly annotated is to find it through KeywordSearch (via title or some 
keyword in the content) and ShowAllEntities to see all the annotations. The 
WebUI itself probably cannot correctly search for words containing such 
symbols because it still has some unicode issues to solve - this may be the 
reason you receive no documents. But if you try it through code using APIs 
it should be ok.

Yet, to clarify the situation, please:
- tell me exactly what queries do you execute?
- through WebUi or via the APIs?
- do entities with "tilde" appear as annotated in the WebUI for a given 
document?

HTH,
Ilian

----- Original Message ----- 
From: "Marina Larraud" <[EMAIL PROTECTED]>
To: "Ilian Kitchukov" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: 14 April 2007, Saturday 23:09
Subject: Re: [KIM-discussion] tilde in documents


Hello again,
I would like to annotate documents that contain special characters, in
particular letters with "tilde", for example á,é,í, etc. I have already
tried using your KIMDocument Store Population Tool, and when I make queries,
the document that contain those characters are not returned ... I think it's
because the tool did not annotate the documents.
Does the tool support that kind of character?? if so, are there any
parameter to be configured?

Thanks in advance,
Marina


2006/11/29, Ilian Kitchukov <[EMAIL PROTECTED]>:
>
> Hi Marina,
>
> > I created the KIMDocument with encoding "UTF-8":
> > KIMDocument kdoc = apiCorpora.createDocument(url, "UTF-8")
> > so, I suppose that this is not the problem.
>
> Huh, I was really surprised but actually this is the very problem.
> I tried two cases within the GATE GUI ant the result of creating a
> document
> was:
> 1) empty encoding (null) - the document is created correctly with those
> special symbols and afterwards entities are regognized that contain such
> symbols as they exist with such labels in the semantic repository (Sesame)
> 2) encoding UTF-8 - all special symbols are replaced with (?) and this
> prevents correct recognition afterwards
>
> So, my advice is just try what will happen if you use:
> KIMDocument kdoc = apiCorpora.createDocument(url, null)
>
> HTH,
> Ilian
>
> ----- Original Message -----
> From: "Marina Larraud" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: 29 November 2006, Wednesday 01:11
> Subject: [KIM-discussion] tilde in documents
>
>
> Hi,
> I have been using KIM, and I've annotated some documents.
> I have a problem, my kb (file with extension .nt) has some instances with
> labels in the spanish language. I have aliases in english and spanish.
>
> For example, below there are some triples:
>
> <http://www.ontotext.com/kim/2005/04/wkb#RegionAfricaDelEste> <
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type>  <
> http://choikebilingue#Region> .
> <http://www.ontotext.com/kim/2005/04/wkb#RegionAfricaDelEste> <
> http://www.w3.org/2000/01/rdf-schema#label> "Africa del Este" .
> <http://www.ontotext.com/kim/2005/04/wkb#RegionAfricaDelEste3> <
> http://www.w3.org/2000/01/rdf-schema#label> "Eastern Africa" .
> <http://www.ontotext.com/kim/2005/04/wkb#RegionAfricaDelEste> <
> http://proton.semanticweb.org/2005/04/protons#hasAlias> <
> http://www.ontotext.com/kim/2005/04/wkb#RegionAfricaDelEste3> .
> <http://www.ontotext.com/kim/2005/04/wkb#RegionAfricaDelEste4> <
> http://www.w3.org/2000/01/rdf-schema#label> "África Oriental" .
> <http://www.ontotext.com/kim/2005/04/wkb#RegionAfricaDelEste> <
> http://proton.semanticweb.org/2005/04/protons#hasAlias> <
> http://www.ontotext.com/kim/2005/04/wkb#RegionAfricaDelEste4> .
>
> The problem is that when I go through the document's annotations, I found
> only "Eastern Africa" and not "África Oriental".
> I noticed is a problem with the tilde.
>
> I created the KIMDocument with encoding "UTF-8":
> KIMDocument kdoc = apiCorpora.createDocument(url, "UTF-8")
>
> so, I suppose that this is not the problem.
>
> Any idea about this?, Can KIM annotate this type of words?
>
> Thanks in advance,
>     Marina
>
>
>
>


__________ NOD32 2193 (20070416) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com




--------------------------------------------------------------------------------


> _______________________________________________
> NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of 
> this mailing list.
>
> KIM-discussion mailing list
> [email protected]
> http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com
>
>
> __________ NOD32 2193 (20070416) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
> 


_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this 
mailing list.

KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com

Reply via email to