- Find gate.bat and open it in your favorite text editor. The likely
location for the gate.bat file is C:\Program
Files\gate\bin. The path could also be
like this: C:\Program Files\GATE-2.0\bin .
- Go to the last line of the file. It should look like this:
start "GATE" "%JAVA%" -Xmx200m -Djava.ext.dirs="%EXTDIR%" -classpath %CLASSPATH% gate.Main %FLAGS% %1 %2 %3 %4 %5 %6 %7 %8 %9
- Add:
-d http://www.cs.pitt.edu/mpqa/opinion-annotations/gate-annotation-new after gate.Main and before %FLAGS%.
- The resulting line should look like this:
start "GATE"
"%JAVA%" -Xmx200m
-Djava.ext.dirs="%EXTDIR%"
-classpath %CLASSPATH% gate.Main -d
http://www.cs.pitt.edu/mpqa/
opinion-annotations/gate-annotation-new
%FLAGS% %1 %2 %3 %4 %5 %6 %7 %8 %9
- Save gate.bat. If you happened to use something like Word to edit
the file, make sure that you save gate.bat as TEXT ONLY!
- If you've run GATE before and experimented with
loading xml-schemas, you may also want to delete your gate.session
file.
J. Ruppenhofer