-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathruneval.sh
executable file
·29 lines (23 loc) · 1.58 KB
/
runeval.sh
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
#!/bin/bash
# echo "jieba without dictionary eval result"
perl scripts/score datasets/training_vocab.txt datasets/test.txt /home/luod/class/nlp/HanTokenization/results/jieba-test-result-hmm.txt
# echo "jieba with dictionary eval result"
# perl scripts/score datasets/training_vocab.txt datasets/test.txt results/jieba-test-result-im.txt
# echo "jieba with dictionary no hmm eval result"
# perl scripts/score datasets/training_vocab.txt datasets/test.txt results/jieba-test-result-no-hmm.txt
# echo "jieba with dictionary paddle no hmm eval result"
# perl scripts/score datasets/training_vocab.txt datasets/test.txt results/jieba-test-result-paddle-no-hmm.txt
# echo "jieba with dictionary paddle with hmm eval result"
# perl scripts/score datasets/training_vocab.txt datasets/test.txt results/jieba-test-result-paddle-hmm.txt
# echo "max-back, max_len = 3"
# perl scripts/score datasets/training_vocab.txt datasets/test.txt results/max-back-result-3.txt
# echo "max-back, max_len = 4"
# perl scripts/score datasets/training_vocab.txt datasets/test.txt results/max-back-result-4.txt
# echo "max-back, max_len = 5"
# perl scripts/score datasets/training_vocab.txt datasets/test.txt results/max-back-result-5.txt
# echo "max-forward, max_len = 3"
# perl scripts/score datasets/training_vocab.txt datasets/test.txt results/max-forward-result-3.txt
# echo "max-forward, max_len = 4"
# perl scripts/score datasets/training_vocab.txt datasets/test.txt results/max-forward-result-4.txt
# echo "max-forward, max_len = 5"
# perl scripts/score datasets/training_vocab.txt datasets/test.txt results/max-forward-result-5.txt