Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

scripts - Training.pl - don't keep fullcontext models around, to save…

… disk space

Ignore-this: ddf810e2d63c026fcf7e5e79e30eb059

darcs-hash:20100120200808-3a4db-33f4ebb2e4d24a2d72d4c029fb5aaec8c0837819.gz
  • Loading branch information...
commit 4ef7af803c213a2d86d6642bf145cb736c144e25 1 parent 3c1193f
@MattShannon authored
Showing with 2 additions and 8 deletions.
  1. +2 −8 scripts/Training.pl
View
10 scripts/Training.pl
@@ -358,7 +358,6 @@
close(EDFILE);
shell("$HHEd{'trn'} -H $monommf{$set} -w $fullmmf{$set} $m2f{$set} $lst{'mon'}");
- shell("gzip -c $fullmmf{$set} > $fullmmf{$set}.nonembedded.gz");
}
}
@@ -372,11 +371,6 @@
# embedded reestimation
print("\n\nEmbedded Re-estimation\n");
shell("$HERest{'ful'} -H $fullmmf{'cmp'} -N $fullmmf{'dur'} -M $model{'cmp'} -R $model{'dur'} $opt $lst{'ful'} $lst{'ful'}");
-
- # compress reestimated model
- foreach $set (@SET) {
- shell("gzip -c $fullmmf{$set} > ${fullmmf{$set}}.embedded.gz");
- }
# convert cmp stats to duration ones
convstats();
@@ -388,7 +382,7 @@
print_time("tree-based context clustering");
foreach $set (@SET) {
- shell("cp $fullmmf{$set} $clusmmf{$set}");
+ shell("mv $fullmmf{$set} $clusmmf{$set}");
# tree-based clustering
$minocc = $mocc{$set};
@@ -456,7 +450,7 @@
# tree-based clustering
foreach $set (@SET) {
- shell("cp $untymmf{$set} $reclmmf{$set}");
+ shell("mv $untymmf{$set} $reclmmf{$set}");
$minocc = $mocc{$set};
make_config();
Please sign in to comment.
Something went wrong with that request. Please try again.