technologiclee / text2onto

Automatically exported from code.google.com/p/text2onto
0 stars 0 forks source link

I have a problem with I run Text2Onto.bat #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
It is the firts time that i can run the software. Does the software need 
any file as input?

What version of the product are you using? On what operating system?
Text2Onto With Windows XP Service Pack 2

Please provide any additional information below.
I attach a screenview with the output.

Original issue reported on code.google.com by aljork...@gmail.com on 12 Feb 2010 at 10:29

Attachments:

GoogleCodeExporter commented 8 years ago
can u put how are you setting the "text2onto.properties" file?

Original comment by M1rg0vki...@gmail.com on 14 Feb 2010 at 7:21

GoogleCodeExporter commented 8 years ago
this is the file texttoonto.properties..
I have tried with two backslash (/ and \)

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:\Freeling\bin\
spanish_wn_dir=C:\Program files\wordnet\2.0\

Original comment by aljork...@gmail.com on 14 Feb 2010 at 10:13

GoogleCodeExporter commented 8 years ago
that file seems to be ok, did you install both gate 4.0 and wordnet 2.0? did u 
modify 
the bat script?

Original comment by M1rg0vki...@gmail.com on 16 Feb 2010 at 3:20

GoogleCodeExporter commented 8 years ago
This is my text2onto.bat
@echo off

set T2O=C:\Text2Onto
set LIB=C:%T2O%\3rdparty
set GATE=C:\GATE4

set 
t2o_classpath=%T2O%/build/bin/new;%LIB%/gate/gate.jar;%LIB%/gate/ontotext.jar;%
LIB%/gate/jasper-compiler-jdt.jar;%LIB%/gate/heptag.jar;%LIB%/gate/xstream-1.2.j
ar;%
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.jar;%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/query.jar;%LIB%/kaon/datalog.jar;%
LIB%/kaon2/kaon2.jar;%LIB%/aclibico.jar;%LIB%/PDFBox-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

Original comment by aljork...@gmail.com on 17 Feb 2010 at 2:18

GoogleCodeExporter commented 8 years ago
try changing the variable GATE for its content.
example: Dgate.home=%GATE% for Dgate.home=C:\GATE4

Original comment by M1rg0vki...@gmail.com on 22 Feb 2010 at 6:41

GoogleCodeExporter commented 8 years ago
I am facing exactly the same problem.I even tried changes mentioned in the 
above comment,still not working.

Original comment by aniketpa...@gmail.com on 22 Jul 2010 at 7:43

GoogleCodeExporter commented 8 years ago
hi aniketpathak29,
I am not sure if you have seen the solution to this, but someone just post it 
in another defect.Look at this:

Comment 5  by M1rg0vkiwee, Feb 28, 2010
u have to copy the file at GATE-4.0/lib called "jasper-compiler-jdt.jar" and
paste it at text2onto/3rdparty/gate, it will ask you if wanna replace that file 
in
there, just say yes

It really works

Original comment by manota...@gmail.com on 23 Jul 2010 at 4:29

GoogleCodeExporter commented 8 years ago
i have similar problem with aljorking...here is my text2onto.properties

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=f:\treetagger\bin\ ------>i don't know whether tagger_dir should 
refers to
spanish_wn_dir=C:\Program Files\WordNet\2.0\dict

please help me...
thank u

Original comment by anistyas...@gmail.com on 8 Oct 2010 at 1:59