Skip to content

Commit e24d906

Browse files
Update README.md
1 parent 3e43d3b commit e24d906

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ See https://github.com/clab/lstm-parser for more information (https://github.com
2323

2424
Having a training.conll file and a development.conll formatted according to the [CoNLL data format](http://ilk.uvt.nl/conll/#dataformat), to train a parsing model with the LSTM parser type the following at the command line prompt:
2525

26-
java -jar ParserOracleArcStdWithSwap.jar -t -1 -l 1 -c training.conll > trainingOracle.txt
27-
java -jar ParserOracleArcStdWithSwap.jar -t -1 -l 1 -c development.conll > devOracle.txt
26+
java -jar ParserOracleArcStd.jar -t -1 -l 1 -c training.conll > trainingOracle.txt
27+
java -jar ParserOracleArcStd.jar -t -1 -l 1 -c development.conll > devOracle.txt
2828

2929
parser/lstm-parse -T trainingOracle.txt -d devOracle.txt --hidden_dim 100 --lstm_input_dim 100 -w sskip.100.vectors --pretrained_dim 100 --rel_dim 20 --action_dim 20 -t -P
3030

@@ -34,13 +34,13 @@ Note-1: you can also run it without word embeddings by removing the -w option fo
3434

3535
Note-2: the training process should be stopped when the development result does not substantially improve anymore. Normally, after 5500 iterations.
3636

37-
Note-3: the parser reports (after each iteration) results including punctuation symbols while in the ACL-15 paper we report results excluding them (as it is common practice in those data sets). You can find eval.pl script from the CoNLL-X Shared Task to get the correct numbers.
37+
Note-3: the parser reports (after each iteration) results including punctuation symbols while in the ACL-15 and the EMNLP-16 paper we report results excluding them (as it is common practice in those data sets). You can find eval.pl script from the CoNLL-X Shared Task to get the correct numbers.
3838

3939
#### Parse data with your parsing model
4040

4141
Having a test.conll file formatted according to the [CoNLL data format](http://ilk.uvt.nl/conll/#dataformat)
4242

43-
java -jar ParserOracleArcStdWithSwap.jar -t -1 -l 1 -c test.conll > testOracle.txt
43+
java -jar ParserOracleArcStd.jar -t -1 -l 1 -c test.conll > testOracle.txt
4444

4545
parser/lstm-parse -T trainingOracle.txt -d testOracle.txt --hidden_dim 100 --lstm_input_dim 100 -w sskip.100.vectors --pretrained_dim 100 --rel_dim 20 --action_dim 20 -P -m parser_pos_2_32_100_20_100_12_20-pidXXXX.params
4646

0 commit comments

Comments
 (0)