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
_______________________________________________ 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
