@@ -98,7 +98,6 @@ SPANISH_TLPP = edu.stanford.nlp.parser.lexparser.SpanishTreebankParserParams
98
98
99
99
100
100
TRAIN_BEAM = -trainingMethod BEAM -trainBeamSize 8
101
- TEST_BEAM = -beamSize 8
102
101
CUTOFF = -featureFrequencyCutoff 5
103
102
104
103
all : wsjSR.ser.gz wsjSR.beam.ser.gz englishSR.ser.gz englishSR.beam.ser.gz frenchSR.ser.gz frenchSR.beam.ser.gz chineseSR.ser.gz chineseSR.beam.ser.gz germanSR.ser.gz germanSR.beam.ser.gz arabicSR.ser.gz arabicSR.beam.ser.gz spanishSR.ser.gz spanishSR.beam.ser.gz
@@ -107,83 +106,83 @@ all: wsjSR.ser.gz wsjSR.beam.ser.gz englishSR.ser.gz englishSR.beam.ser.gz frenc
107
106
wsjSR.ser.gz :
108
107
@echo Training $@
109
108
@echo Will test on $(WSJ_TEST )
110
- java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(WSJ_TRAIN ) -devTreebank $(WSJ_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 12 -preTag -taggerSerializedFile $(WSJ_TAGGER ) -trainingIterations 100 -stalledIterationLimit 25 -tlpp $(WSJ_TLPP ) > $@ .out 2>&1
109
+ java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(WSJ_TRAIN ) -devTreebank $(WSJ_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 24 -preTag -taggerSerializedFile $(WSJ_TAGGER ) -trainingIterations 100 -stalledIterationLimit 25 -tlpp $(WSJ_TLPP ) > $@ .out 2>&1
111
110
java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(WSJ_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(WSJ_TAGGER ) >> $@ .out 2>&1
112
111
113
112
wsjSR.beam.ser.gz :
114
113
@echo Training $@
115
114
@echo Will test on $(WSJ_TEST )
116
- java -mx20g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(WSJ_TRAIN ) -devTreebank $(WSJ_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 12 -preTag -taggerSerializedFile $(WSJ_TAGGER ) -trainingIterations 100 -stalledIterationLimit 25 -tlpp $(WSJ_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
117
- java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(WSJ_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(WSJ_TAGGER ) $( TEST_BEAM ) >> $@ .out 2>&1
115
+ java -mx20g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(WSJ_TRAIN ) -devTreebank $(WSJ_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 24 -preTag -taggerSerializedFile $(WSJ_TAGGER ) -trainingIterations 100 -stalledIterationLimit 25 -tlpp $(WSJ_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
116
+ java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(WSJ_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(WSJ_TAGGER ) >> $@ .out 2>&1
118
117
119
118
englishSR.ser.gz :
120
119
@echo Training $@
121
120
@echo Will test on $(ENGLISH_TEST )
122
- java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(ENGLISH_TRAIN ) -devTreebank $(ENGLISH_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 12 -preTag -taggerSerializedFile $(ENGLISH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(ENGLISH_TLPP ) > $@ .out 2>&1
123
- java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(ENGLISH_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(ENGLISH_TAGGER ) -trainingIterations 100 -stalledIterationLimit 25 >> $@ .out 2>&1
121
+ java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(ENGLISH_TRAIN ) -devTreebank $(ENGLISH_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 24 -preTag -taggerSerializedFile $(ENGLISH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(ENGLISH_TLPP ) > $@ .out 2>&1
122
+ java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(ENGLISH_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(ENGLISH_TAGGER ) >> $@ .out 2>&1
124
123
125
124
englishSR.beam.ser.gz :
126
125
@echo Training $@
127
126
@echo Will test on $(ENGLISH_TEST )
128
- java -mx50g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(ENGLISH_TRAIN ) -devTreebank $(ENGLISH_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 20 -preTag -taggerSerializedFile $(ENGLISH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(ENGLISH_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
129
- java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(ENGLISH_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(ENGLISH_TAGGER ) $( TEST_BEAM ) >> $@ .out 2>&1
127
+ java -mx50g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(ENGLISH_TRAIN ) -devTreebank $(ENGLISH_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 24 -preTag -taggerSerializedFile $(ENGLISH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(ENGLISH_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
128
+ java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(ENGLISH_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(ENGLISH_TAGGER ) >> $@ .out 2>&1
130
129
131
130
frenchSR.ser.gz :
132
131
@echo Training $@
133
132
@echo Will test on $(FRENCH_TEST )
134
- java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(FRENCH_TRAIN ) -devTreebank $(FRENCH_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 12 -preTag -taggerSerializedFile $(FRENCH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(FRENCH_TLPP ) > $@ .out 2>&1
133
+ java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(FRENCH_TRAIN ) -devTreebank $(FRENCH_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 24 -preTag -taggerSerializedFile $(FRENCH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(FRENCH_TLPP ) > $@ .out 2>&1
135
134
java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(FRENCH_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(FRENCH_TAGGER ) >> $@ .out 2>&1
136
135
137
136
frenchSR.beam.ser.gz :
138
137
@echo Training $@
139
138
@echo Will test on $(FRENCH_TEST )
140
- java -mx40g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(FRENCH_TRAIN ) -devTreebank $(FRENCH_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 20 -preTag -taggerSerializedFile $(FRENCH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(FRENCH_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
141
- java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(FRENCH_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(FRENCH_TAGGER ) $( TEST_BEAM ) >> $@ .out 2>&1
139
+ java -mx40g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(FRENCH_TRAIN ) -devTreebank $(FRENCH_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 24 -preTag -taggerSerializedFile $(FRENCH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(FRENCH_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
140
+ java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(FRENCH_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(FRENCH_TAGGER ) >> $@ .out 2>&1
142
141
143
142
chineseSR.ser.gz :
144
143
@echo Training $@
145
144
@echo Will test on $(CHINESE_TEST )
146
- java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(CHINESE_TRAIN ) -devTreebank $(CHINESE_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 12 -preTag -taggerSerializedFile $(CHINESE_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(CHINESE_TLPP ) > $@ .out 2>&1
145
+ java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(CHINESE_TRAIN ) -devTreebank $(CHINESE_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 24 -preTag -taggerSerializedFile $(CHINESE_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(CHINESE_TLPP ) > $@ .out 2>&1
147
146
java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(CHINESE_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(CHINESE_TAGGER ) >> $@ .out 2>&1
148
147
149
148
chineseSR.beam.ser.gz :
150
149
@echo Training $@
151
150
@echo Will test on $(CHINESE_TEST )
152
- java -mx50g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(CHINESE_TRAIN ) -devTreebank $(CHINESE_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 20 -preTag -taggerSerializedFile $(CHINESE_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(CHINESE_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
153
- java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(CHINESE_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(CHINESE_TAGGER ) $( TEST_BEAM ) >> $@ .out 2>&1
151
+ java -mx50g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(CHINESE_TRAIN ) -devTreebank $(CHINESE_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 24 -preTag -taggerSerializedFile $(CHINESE_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(CHINESE_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
152
+ java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(CHINESE_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(CHINESE_TAGGER ) >> $@ .out 2>&1
154
153
155
154
germanSR.ser.gz :
156
155
@echo Training $@
157
156
@echo Will test on $(GERMAN_TEST )
158
- java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(GERMAN_TRAIN ) -devTreebank $(GERMAN_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 12 -preTag -taggerSerializedFile $(GERMAN_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(GERMAN_TLPP ) > $@ .out 2>&1
157
+ java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(GERMAN_TRAIN ) -devTreebank $(GERMAN_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 24 -preTag -taggerSerializedFile $(GERMAN_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(GERMAN_TLPP ) > $@ .out 2>&1
159
158
java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(GERMAN_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(GERMAN_TAGGER ) >> $@ .out 2>&1
160
159
161
160
germanSR.beam.ser.gz :
162
161
@echo Training $@
163
162
@echo Will test on $(GERMAN_TEST )
164
- java -mx50g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(GERMAN_TRAIN ) -devTreebank $(GERMAN_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 20 -preTag -taggerSerializedFile $(GERMAN_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(GERMAN_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
165
- java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(GERMAN_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(GERMAN_TAGGER ) $( TEST_BEAM ) >> $@ .out 2>&1
163
+ java -mx50g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(GERMAN_TRAIN ) -devTreebank $(GERMAN_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 24 -preTag -taggerSerializedFile $(GERMAN_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(GERMAN_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
164
+ java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(GERMAN_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(GERMAN_TAGGER ) >> $@ .out 2>&1
166
165
167
166
arabicSR.ser.gz :
168
167
@echo Training $@
169
168
@echo Will test on $(ARABIC_TEST )
170
- java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(ARABIC_TRAIN ) -devTreebank $(ARABIC_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 12 -preTag -taggerSerializedFile $(ARABIC_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(ARABIC_TLPP ) > $@ .out 2>&1
169
+ java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(ARABIC_TRAIN ) -devTreebank $(ARABIC_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 24 -preTag -taggerSerializedFile $(ARABIC_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(ARABIC_TLPP ) > $@ .out 2>&1
171
170
java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(ARABIC_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(ARABIC_TAGGER ) >> $@ .out 2>&1
172
171
173
172
arabicSR.beam.ser.gz :
174
173
@echo Training $@
175
174
@echo Will test on $(ARABIC_TEST )
176
- java -mx50g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(ARABIC_TRAIN ) -devTreebank $(ARABIC_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 20 -preTag -taggerSerializedFile $(ARABIC_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(ARABIC_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
177
- java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(ARABIC_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(ARABIC_TAGGER ) $( TEST_BEAM ) >> $@ .out 2>&1
175
+ java -mx50g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(ARABIC_TRAIN ) -devTreebank $(ARABIC_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 24 -preTag -taggerSerializedFile $(ARABIC_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(ARABIC_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
176
+ java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(ARABIC_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(ARABIC_TAGGER ) >> $@ .out 2>&1
178
177
179
178
spanishSR.ser.gz :
180
179
@echo Training $@
181
180
@echo Will test on $(SPANISH_TEST )
182
- java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(SPANISH_TRAIN ) -devTreebank $(SPANISH_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 12 -preTag -taggerSerializedFile $(SPANISH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(SPANISH_TLPP ) > $@ .out 2>&1
181
+ java -mx10g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(SPANISH_TRAIN ) -devTreebank $(SPANISH_DEV ) -serializedPath $@ -trainingThreads 4 -batchSize 24 -preTag -taggerSerializedFile $(SPANISH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(SPANISH_TLPP ) > $@ .out 2>&1
183
182
java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(SPANISH_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(SPANISH_TAGGER ) >> $@ .out 2>&1
184
183
185
184
spanishSR.beam.ser.gz :
186
185
@echo Training $@
187
186
@echo Will test on $(SPANISH_TEST )
188
- java -mx20g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(SPANISH_TRAIN ) -devTreebank $(SPANISH_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 20 -preTag -taggerSerializedFile $(SPANISH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(SPANISH_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
189
- java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(SPANISH_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(SPANISH_TAGGER ) $( TEST_BEAM ) >> $@ .out 2>&1
187
+ java -mx20g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -trainTreebank $(SPANISH_TRAIN ) -devTreebank $(SPANISH_DEV ) -serializedPath $@ -trainingThreads 8 -batchSize 24 -preTag -taggerSerializedFile $(SPANISH_TAGGER ) -trainingIterations 200 -stalledIterationLimit 25 -tlpp $(SPANISH_TLPP ) $(TRAIN_BEAM ) $(CUTOFF ) > $@ .out 2>&1
188
+ java -mx5g edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser -testTreebank $(SPANISH_TEST ) -serializedPath $@ -preTag -taggerSerializedFile $(SPANISH_TAGGER ) >> $@ .out 2>&1
0 commit comments