-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrun.bat
56 lines (26 loc) · 4.52 KB
/
run.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@echo on
set T2O=g:\text2onto\software
set LIB=%T2O%\3rdparty
set GATE=f:/gate
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.jar;%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%\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;%LIB%\kaon2\log4j-1.2.8.jar;%LIB%\kaon2\ehcache-1.1.jar;%LIB%\kaon2\util.jar;%LIB%\kaon2\datamodelbase.jar;
rem d:
rem cd \postgresql8\skripte\gate
rem psql -d database -U postgres -f createDB.script
rem g:
rem cd %T2O%
@echo off
rem java -cp %t2o_classpath% -ms512M -mx512M org.ontoware.text2onto.bayes.BayesianNetwork
rem java -cp %t2o_classpath% -ms512M -mx512M org.ontoware.text2onto.bayes.BayesianNetwork h:\todo\text2onto\bayes\lonelyplanet.patterns
rem java -cp %t2o_classpath% org.ontoware.text2onto.debug.TestPatterns file:/h:/todo/text2onto/corpus/corpus3
rem java -cp %t2o_classpath% org.ontoware.text2onto.ontology.KAONReader file:/h:/todo/text2onto/ontology.kaon
rem java -cp %t2o_classpath% org.ontoware.text2onto.gui.POMGraphTest file:/h:/todo/text2onto/ontology.kaon
rem java -cp %t2o_classpath% -Djava.library.path=g:/text2onto/software/3rdparty/eclipse/os/win32/x86 org.ontoware.text2onto.gui.POMSWTTest file:/h:/todo/text2onto/ontology.kaon
rem java -cp %t2o_classpath% -ms512M -mx512M -Dgate.home=%GATE% -Dgate.config=%GATE%/gate.xml -Dgate.plugins.home=%GATE%/plugins -Dload.plugin.path=file:/%GATE%/plugins/ANNIE -Djava.library.path=g:/text2onto/software/3rdparty/eclipse/os/win32/x86 -Dfile.encoding=ISO-8859-1 org.ontoware.text2onto.debug.TestOntology file:/h:/text2onto/corpus/corpus_owl file:/h:/text2onto/ontology/ontology.owl
rem java -cp %t2o_classpath% -ms512M -mx512M -Dgate.home=%GATE% -Dgate.config=%GATE%/gate.xml -Dgate.plugins.home=%GATE%/plugins -Dload.plugin.path=file:/%GATE%/plugins/ANNIE -Djava.library.path=g:/text2onto/software/3rdparty/eclipse/os/win32/x86 -Dfile.encoding=ISO-8859-1 org.ontoware.text2onto.debug.TestChanges file:/h:/text2onto/corpus/corpus1 file:/h:/text2onto/corpus/corpus2/doc2.txt
rem java -cp %t2o_classpath% -ms512M -mx512M -Dgate.home=%GATE% -Dgate.config=%GATE%/gate.xml -Dgate.plugins.home=%GATE%/plugins -Dload.plugin.path=file:/%GATE%/plugins/ANNIE -Djava.library.path=g:/text2onto/software/3rdparty/eclipse/os/win32/x86 -Dfile.encoding=ISO-8859-1 org.ontoware.text2onto.debug.TestPatterns file:/h:/text2onto/corpus/corpus3 Concept
rem java -cp %t2o_classpath% -ms512M -mx512M -Dgate.home=%GATE% -Dgate.config=%GATE%/gate.xml -Dgate.plugins.home=%GATE%/plugins -Dload.plugin.path=file:/%GATE%/plugins/ANNIE org.ontoware.text2onto.gui.Text2Onto
@echo on
java -cp %t2o_classpath% -ms1200M -mx1200M -Dgate.home=%GATE% -Dgate.config=%GATE%/gate.xml -Dgate.plugins.home=%GATE%/plugins -Dload.plugin.path=file:/%GATE%/plugins/ANNIE -Djava.library.path=g:/text2onto/software/3rdparty/eclipse/os/win32/x86 -Dfile.encoding=ISO-8859-1 org.ontoware.text2onto.debug.TestAlgorithms file:/g:/corpus/corpus_sw file:/g:/text2onto/software/sw.owl
rem java -cp %t2o_classpath% -ms1200M -mx1200M -Dgate.home=%GATE% -Dgate.config=%GATE%/gate.xml -Dgate.plugins.home=%GATE%/plugins -Dload.plugin.path=file:/%GATE%/plugins/ANNIE -Djava.library.path=g:/text2onto/software/3rdparty/eclipse/os/win32/x86 -Dfile.encoding=ISO-8859-1 org.ontoware.text2onto.debug.TestPatterns file:/g:/corpus/corpus_sw %1
rem java -cp %t2o_classpath% -ms1200M -mx1200M -Dgate.home=%GATE% -Dgate.config=%GATE%/gate.xml -Dgate.plugins.home=%GATE%/plugins -Dload.plugin.path=file:/%GATE%/plugins/ANNIE -Djava.library.path=g:/text2onto/software/3rdparty/eclipse/os/win32/x86 -Dfile.encoding=ISO-8859-1 org.ontoware.text2onto.debug.TestAlgorithms file:/g:/temp/wikipedia_clean_wsd/%1/ file:/g:/temp/wikipedia_clean_wsd/%1-text2onto > g:/temp/wikipedia_clean_wsd/%1-text2onto.txt
rem java -cp %t2o_classpath% -ms1200M -mx1200M -Dgate.home=%GATE% -Dgate.config=%GATE%/gate.xml -Dgate.plugins.home=%GATE%/plugins -Dload.plugin.path=file:/%GATE%/plugins/ANNIE -Djava.library.path=g:/text2onto/software/3rdparty/eclipse/os/win32/x86 -Dfile.encoding=ISO-8859-1 org.ontoware.text2onto.debug.TestPatterns file:/h:/todo/robert/test %1