Open GoogleCodeExporter opened 9 years ago
What steps will reproduce the problem?
1. I am using Gate 4.0 and Wordnet 2.1. on Windows Vista
2. I have note some of the issues raised previously with prescribed solutions
but yet I not able to install text2onto from the bat file.
3. I have replaced the jasper....jar file in Gate4.0 with the one in text2onto.
I need guidance on how to resolve this problem. My problem is a very common one
but can't see where a categorical solution has been proffered from the issues
threads I have read so far.
What is the expected output? What do you see instead?
My text2onto.properties is as follows:
language=english
gate_dir=c:\Text2Onto\3rdparty\gate\
gate_app=application.gate
jape_main=main.jape
stop_file=stopwords.txt
creole_dir=c:\Text2onto\3rdparty\gate\
jwnl_properties=c:\Text2Onto\3rdparty\jwnl\file_properties.xml
temp_corpus=c:\temp\Text2Onto\
icons=c:\Text2Onto\icons\
datastore=serial
tagger_dir=c:\treetagger\bin\
spanish_wn_dir=c:\Program Files\wordnet\2.1\
My text2onto.bat file is as follows:
@echo on
set T2O=c:\Text2Onto
set LIB=%T20%\3rdparty
set GATE=c:\Program Files\GATE-4.0
set
t2o_classpath=%T2O%/build/bin/new;%LIB%/gate/gate.jar;%LIB%/gate/ontotext.jar;%L
IB%/gate/jasper-compiler-jdt.jar;%LIB%/gate/heptag.jar;%LIB%/gate/xstream-1.2.ja
r;%LIB%/gate/nekohtml-0.9.5.jar;%LIB%/gate/xercesImpl.jar;%LIB%/gate/xpp3-1.1.3.
3_min.jar;%LIB%/gnu-regexp-1.0.8.jar;%LIB%/jdom.jar;%LIB%/jgraph/jgraphaddons.ja
r;%LIB%/eclipse/workbench.jar;%LIB%/jwnl/jwnl.jar;%LIB%/commons-logging.jar;%LIB
%/kaon/kaonapi.jar;%LIB%/kaon/apionrdf.jar;%LIB%/kaon/rdfapi.jar;%LIB%/kaon/quer
y.jar;%LIB%/kaon/datalog.jar;%LIB%/kaon2/kaon2.jar;%LIB%/aclibico.jar;%LIB%/PDFB
ox-0.7.2.jar;%LIB%/log4j-1.2.11.jar;%LIB%/database/postgresql-8.0-312.jdbc3.jar;
%LIB%/database/orajdbc9i.zip;%LIB%/junit.jar;
rem d:
rem cd /postgresql8/skripte/gate
rem psql -d database -U postgres -f createDB.script
rem g:
rem cd %T2O%
java -ms512M -mx512M -Dgate.home=%GATE% -Dgate.config=%GATE%/gate.xml
-Dgate.plugins.home=%GATE%/plugins
-Dload.plugin.path=file:/%GATE%/plugins/ANNIE -cp %t2o_classpath%
org.ontoware.text2onto.gui.Text2Onto
The error message is attached.
What version of the product are you using? On what operating system?
Please provide any additional information below.
'Wanddy
Original comment by DWa...@gmail.com
on 21 Oct 2010 at 6:36
Attachments:
Dear Wande Daramola,
in your case the exception seems to be caused by a space character on your GATE
path. Installing GATE into a different directory (e.g. "C:\GATE") might solve
the problem.
Best wishes,
Johanna
Original comment by johanna.voelker@gmail.com
on 26 Oct 2010 at 7:41
From DWande
(I hope my experience could benefit someone)- Read this narrative:
Finally I got it figured out and the interface has showed up. I think
there are a few things to pay attention to based on my experience.
1. Don't install the Gate and Wordnet software in a folder that has
empty space in the folder name like "c:\program files\Gate". Make sure
there is no space in the folder path. Same for the Wordnet.
2. Don't alter the slashes (/ \) in the properties file and text2onto
bat file (I changed them severally in the course of trying to figure out
was wrong but it only complicated issues. Both the properties file and
the bat are okay. Read through the read-me file and follow the
instructions there carefully. Set your <text2onto-dir> and <gate-dir>
appropriately.
3. Modify the
"jwnl_properties=<T2O-DIR>/3rdparty/jwnl/file_properties.xml" by
editing the xml file to set the folder path for the Wordnet dictionary.
4. Don't bother about the tagger_dir, and spanish_wn_dir properties;
just live them as they are.
5. You will need to replace the file named "jasper-compiler-jdt.jar" in
the c:\text2onto\3party\gate\ folder with the one in c:\gate\lib\
folder. That is overwrite the one in the text2onto with the one that is
in gate folder.
With these steps, when you run the bat file, the interface should come
up.
Best wishes.
Original comment by DWa...@gmail.com
on 29 Oct 2010 at 12:30
I now can run it but I cannot export to OWL
Original comment by kgrolin...@gmail.com
on 29 Oct 2010 at 3:33
I have the same problem with him ^
Original comment by anistyas...@gmail.com
on 31 Oct 2010 at 4:10
I have the same problem with her^ --"
Original comment by snowf...@gmail.com
on 3 Dec 2010 at 2:27
I have the same problem with her^ --"
Original comment by snowf...@gmail.com
on 3 Dec 2010 at 2:28
I also have the same problem with export to OWL. Has anyone found a solution to
it?
Original comment by wmeik...@gmail.com
on 6 Jan 2011 at 4:30
Original issue reported on code.google.com by
kgrolin...@gmail.com
on 18 Aug 2010 at 8:52