From 2a48d73eb794fdd736d1df035c8a31af887cde0a Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 15 Mar 2013 11:31:18 +0100
Subject: overhauled ruby scripts and examples
---
training/dtrain/test/parallelize/README | 5 -----
training/dtrain/test/parallelize/cdec.ini | 22 ---------------------
training/dtrain/test/parallelize/dtrain.ini | 15 --------------
.../dtrain/test/parallelize/g/grammar.out.0.gz | Bin 8318 -> 0 bytes
.../dtrain/test/parallelize/g/grammar.out.1.gz | Bin 358560 -> 0 bytes
.../dtrain/test/parallelize/g/grammar.out.2.gz | Bin 1014466 -> 0 bytes
.../dtrain/test/parallelize/g/grammar.out.3.gz | Bin 391811 -> 0 bytes
.../dtrain/test/parallelize/g/grammar.out.4.gz | Bin 149590 -> 0 bytes
.../dtrain/test/parallelize/g/grammar.out.5.gz | Bin 537024 -> 0 bytes
.../dtrain/test/parallelize/g/grammar.out.6.gz | Bin 291286 -> 0 bytes
.../dtrain/test/parallelize/g/grammar.out.7.gz | Bin 1038140 -> 0 bytes
.../dtrain/test/parallelize/g/grammar.out.8.gz | Bin 419889 -> 0 bytes
.../dtrain/test/parallelize/g/grammar.out.9.gz | Bin 409140 -> 0 bytes
training/dtrain/test/parallelize/in | 10 ----------
training/dtrain/test/parallelize/refs | 10 ----------
15 files changed, 62 deletions(-)
delete mode 100644 training/dtrain/test/parallelize/README
delete mode 100644 training/dtrain/test/parallelize/cdec.ini
delete mode 100644 training/dtrain/test/parallelize/dtrain.ini
delete mode 100644 training/dtrain/test/parallelize/g/grammar.out.0.gz
delete mode 100644 training/dtrain/test/parallelize/g/grammar.out.1.gz
delete mode 100644 training/dtrain/test/parallelize/g/grammar.out.2.gz
delete mode 100644 training/dtrain/test/parallelize/g/grammar.out.3.gz
delete mode 100644 training/dtrain/test/parallelize/g/grammar.out.4.gz
delete mode 100644 training/dtrain/test/parallelize/g/grammar.out.5.gz
delete mode 100644 training/dtrain/test/parallelize/g/grammar.out.6.gz
delete mode 100644 training/dtrain/test/parallelize/g/grammar.out.7.gz
delete mode 100644 training/dtrain/test/parallelize/g/grammar.out.8.gz
delete mode 100644 training/dtrain/test/parallelize/g/grammar.out.9.gz
delete mode 100644 training/dtrain/test/parallelize/in
delete mode 100644 training/dtrain/test/parallelize/refs
(limited to 'training/dtrain/test/parallelize')
diff --git a/training/dtrain/test/parallelize/README b/training/dtrain/test/parallelize/README
deleted file mode 100644
index 89715105..00000000
--- a/training/dtrain/test/parallelize/README
+++ /dev/null
@@ -1,5 +0,0 @@
-run for example
- ../../parallelize.rb ./dtrain.ini 4 false 2 2 ./in ./refs
-
-final weights will be in the file work/weights.3
-
diff --git a/training/dtrain/test/parallelize/cdec.ini b/training/dtrain/test/parallelize/cdec.ini
deleted file mode 100644
index e43ba1c4..00000000
--- a/training/dtrain/test/parallelize/cdec.ini
+++ /dev/null
@@ -1,22 +0,0 @@
-formalism=scfg
-add_pass_through_rules=true
-intersection_strategy=cube_pruning
-cubepruning_pop_limit=200
-scfg_max_span_limit=15
-feature_function=WordPenalty
-feature_function=KLanguageModel ../example/nc-wmt11.en.srilm.gz
-#feature_function=ArityPenalty
-#feature_function=CMR2008ReorderingFeatures
-#feature_function=Dwarf
-#feature_function=InputIndicator
-#feature_function=LexNullJump
-#feature_function=NewJump
-#feature_function=NgramFeatures
-#feature_function=NonLatinCount
-#feature_function=OutputIndicator
-#feature_function=RuleIdentityFeatures
-#feature_function=RuleNgramFeatures
-#feature_function=RuleShape
-#feature_function=SourceSpanSizeFeatures
-#feature_function=SourceWordPenalty
-#feature_function=SpanFeatures
diff --git a/training/dtrain/test/parallelize/dtrain.ini b/training/dtrain/test/parallelize/dtrain.ini
deleted file mode 100644
index 03f9d240..00000000
--- a/training/dtrain/test/parallelize/dtrain.ini
+++ /dev/null
@@ -1,15 +0,0 @@
-k=100
-N=4
-learning_rate=0.0001
-gamma=0
-loss_margin=0
-epochs=1
-scorer=stupid_bleu
-sample_from=kbest
-filter=uniq
-pair_sampling=XYX
-hi_lo=0.1
-select_weights=last
-print_weights=Glue WordPenalty LanguageModel LanguageModel_OOV PhraseModel_0 PhraseModel_1 PhraseModel_2 PhraseModel_3 PhraseModel_4 PhraseModel_5 PhraseModel_6 PassThrough
-tmp=/tmp
-decoder_config=cdec.ini
diff --git a/training/dtrain/test/parallelize/g/grammar.out.0.gz b/training/dtrain/test/parallelize/g/grammar.out.0.gz
deleted file mode 100644
index 1e28a24b..00000000
Binary files a/training/dtrain/test/parallelize/g/grammar.out.0.gz and /dev/null differ
diff --git a/training/dtrain/test/parallelize/g/grammar.out.1.gz b/training/dtrain/test/parallelize/g/grammar.out.1.gz
deleted file mode 100644
index 372f5675..00000000
Binary files a/training/dtrain/test/parallelize/g/grammar.out.1.gz and /dev/null differ
diff --git a/training/dtrain/test/parallelize/g/grammar.out.2.gz b/training/dtrain/test/parallelize/g/grammar.out.2.gz
deleted file mode 100644
index 145d0dc0..00000000
Binary files a/training/dtrain/test/parallelize/g/grammar.out.2.gz and /dev/null differ
diff --git a/training/dtrain/test/parallelize/g/grammar.out.3.gz b/training/dtrain/test/parallelize/g/grammar.out.3.gz
deleted file mode 100644
index 105593ff..00000000
Binary files a/training/dtrain/test/parallelize/g/grammar.out.3.gz and /dev/null differ
diff --git a/training/dtrain/test/parallelize/g/grammar.out.4.gz b/training/dtrain/test/parallelize/g/grammar.out.4.gz
deleted file mode 100644
index 30781f48..00000000
Binary files a/training/dtrain/test/parallelize/g/grammar.out.4.gz and /dev/null differ
diff --git a/training/dtrain/test/parallelize/g/grammar.out.5.gz b/training/dtrain/test/parallelize/g/grammar.out.5.gz
deleted file mode 100644
index 834ee759..00000000
Binary files a/training/dtrain/test/parallelize/g/grammar.out.5.gz and /dev/null differ
diff --git a/training/dtrain/test/parallelize/g/grammar.out.6.gz b/training/dtrain/test/parallelize/g/grammar.out.6.gz
deleted file mode 100644
index 2e76f348..00000000
Binary files a/training/dtrain/test/parallelize/g/grammar.out.6.gz and /dev/null differ
diff --git a/training/dtrain/test/parallelize/g/grammar.out.7.gz b/training/dtrain/test/parallelize/g/grammar.out.7.gz
deleted file mode 100644
index 3741a887..00000000
Binary files a/training/dtrain/test/parallelize/g/grammar.out.7.gz and /dev/null differ
diff --git a/training/dtrain/test/parallelize/g/grammar.out.8.gz b/training/dtrain/test/parallelize/g/grammar.out.8.gz
deleted file mode 100644
index ebf6bd0c..00000000
Binary files a/training/dtrain/test/parallelize/g/grammar.out.8.gz and /dev/null differ
diff --git a/training/dtrain/test/parallelize/g/grammar.out.9.gz b/training/dtrain/test/parallelize/g/grammar.out.9.gz
deleted file mode 100644
index c1791059..00000000
Binary files a/training/dtrain/test/parallelize/g/grammar.out.9.gz and /dev/null differ
diff --git a/training/dtrain/test/parallelize/in b/training/dtrain/test/parallelize/in
deleted file mode 100644
index 3b7dec39..00000000
--- a/training/dtrain/test/parallelize/in
+++ /dev/null
@@ -1,10 +0,0 @@
-