forked from anderbarrena/500kNED
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path00-do.m@th+.cBoW.sh
35 lines (29 loc) · 1.18 KB
/
00-do.m@th+.cBoW.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
30
31
32
33
34
35
#!/bin/bash
# exit 0
vector=source/vectors/wikipedia+.d300.w2v.bz2
vtag=wikipedia+.d300.w2v
nn='@cBoW.py'
nntag='@cBoW.aug'
for d in plato
do
perl m@th.[deep].pl -nn "$nn" -w2v "$vector" -augmented -dict source/dict/2014wiki_"$d"_subset.dict.bz2 -train_m0ths 2>> debug/"$d".m@th."$vtag"."$nntag".txt
done
for d in aidatesta aidatestb tac2010test tac2011test tac2012test
do
for r in 1 2 3
do
perl m@th.[deep].pl -round "$r" -nn "$nn" -augmented -w2v "$vector" -test ed/2014wiki_"$d".words.w50.ed.bz2 -dict source/dict/2014wiki_"$d"_subset.dict.bz2 > m@th/2014wiki_"$d"_peW."$vtag"."$nntag"."$r" 2>> debug/"$d".m@th."$vtag"."$nntag".txt
done
done
nntag='@cBoW.orig'
for d in plato
do
perl m@th.[deep].pl -nn "$nn" -w2v "$vector" -dict source/dict/2014wiki_"$d"_subset.dict.bz2 -train_m0ths 2>> debug/"$d".m@th."$vtag"."$nntag".txt
done
for d in aidatesta aidatestb tac2010test tac2011test tac2012test
do
for r in 1 2 3
do
perl m@th.[deep].pl -round "$r" -nn "$nn" -w2v "$vector" -test ed/2014wiki_"$d".words.w50.ed.bz2 -dict source/dict/2014wiki_"$d"_subset.dict.bz2 > m@th/2014wiki_"$d"_peW."$vtag"."$nntag"."$r" 2>> debug/"$d".m@th."$vtag"."$nntag".txt
done
done