|
From: Lorenz B. <spo...@st...> - 2014-04-23 10:46:11
|
Hi June, thanks for the bug report. Seems like the parser wasn't able to parse Unicode characters. I fixed this problem now and will upload a new version beta-3 today. By the way the syntax of your ontology is incorrect. The header must contain the namespaces of RDF, OWL etc., i.e. it should look like <rdf:RDF xml:base="http://dbpedia.org/ontology/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns="http://dbpedia.org/ontology/"> Regards, Lorenz On 04/14/2014 04:34 PM, ?? wrote: > Dear list, > > I am using dllearner-1.0-beta-2, and I have some problems on the > learning problem defined in the attachment. The configuration file > contains some special characters such as French, it seems to me that > they cause the following exception. It will be very helpful if you can > help me on how to solve the problem. Many thanks! > > Exception in thread "main" org.dllearner.confparser3.TokenMgrError: > Lexical error at line 7, column 1733. Encountered: "\u8c0b" (35851), > after : "\"http://dbpedia.org/resource/A\ufffd\ufffd > <http://dbpedia.org/resource/A%5Cufffd%5Cufffd>" > at > org.dllearner.confparser3.ConfParserTokenManager.getNextToken(ConfParserTokenManager.java:507) > at org.dllearner.confparser3.ConfParser.jj_scan_token(ConfParser.java:617) > at org.dllearner.confparser3.ConfParser.jj_3R_6(ConfParser.java:445) > at org.dllearner.confparser3.ConfParser.jj_3_1(ConfParser.java:481) > at org.dllearner.confparser3.ConfParser.jj_2_1(ConfParser.java:345) > at org.dllearner.confparser3.ConfParser.ConfOption(ConfParser.java:153) > at org.dllearner.confparser3.ConfParser.Start(ConfParser.java:79) > at > org.dllearner.confparser3.ConfParserConfiguration.<init>(ConfParserConfiguration.java:40) > at org.dllearner.cli.CLI.main(CLI.java:174) > > > > Best wishes, > > June > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > > > _______________________________________________ > dl-learner-discussion mailing list > dl-...@li... > https://lists.sourceforge.net/lists/listinfo/dl-learner-discussion |