diff --git a/get.sh b/get.sh index 7b7b2c3..b18ad5b 100644 --- a/get.sh +++ b/get.sh @@ -1,8 +1,8 @@ -python3 file_sents --inputfile ../baike_sents_full.jsonl --outputfile ../train_stage1.jsonl --triefile ../data/trie4train.data --option save_ne -python3 file_sents --inputfile ../train_stage1.jsonl --outputfile ../train_stage2.jsonl --triefile ../data/trie4test.data --option leave_ne +python3 filt_sents.py --inputfile ../baike_sents_full.jsonl --outputfile ../train_stage1.jsonl --triefile ../data/trie4train.data --option save_ne +python3 filt_sents.py --inputfile ../train_stage1.jsonl --outputfile ../train_stage2.jsonl --triefile ../data/trie4test.data --option leave_ne -python3 file_sents --inputfile ../baike_sents_full.jsonl --outputfile ../test_stage1.jsonl --triefile ../data/trie4test.data --option save_ne -python3 file_sents --inputfile ../test_stage1.jsonl --outputfile ../test_stage2.jsonl --triefile ../data/trie4train.data --option leave_ne +python3 filt_sents.py --inputfile ../baike_sents_full.jsonl --outputfile ../test_stage1.jsonl --triefile ../data/trie4test.data --option save_ne +python3 filt_sents.py --inputfile ../test_stage1.jsonl --outputfile ../test_stage2.jsonl --triefile ../data/trie4train.data --option leave_ne python3 generate_sents.py --inputfile ../test_stage2.jsonl --triefile ../data/trie4test.data --datatype tt_test --vocfile ../data/voc4test.txt