summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2013-12-11 16:03:30 +0100
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2013-12-11 16:03:30 +0100
commit36e78054419ccf38fb3049e32120b5704de4ba85 (patch)
tree9594cbc597c725736ac1add4cb017673220394bf
parent1dcf5842ce8a684a4943d3a67a8eb1c210359851 (diff)
fix paths in preprocess
-rwxr-xr-xpreprocess2
-rwxr-xr-xpreprocess_nolow5
2 files changed, 1 insertions, 6 deletions
diff --git a/preprocess b/preprocess
index 716255d..9273cfb 100755
--- a/preprocess
+++ b/preprocess
@@ -1,5 +1,5 @@
#!/bin/zsh
LANG=$1
-~/scripts/htmlentities 2>htmlentities.$LANG.err | ~/scripts/normalize-punctuation 2>normalize-punctuation.$LANG.err | ~/moses/scripts/tokenizer/tokenizer.perl -a -b -threads 1 -l $LANG 2>tokenizer.$LANG.err | ~/moses/scripts/tokenizer/lowercase.perl 2>lowercase.$LANG.err
+/toolbox/scripts/htmlentities 2>htmlentities.$LANG.err | /toolbox/scripts/normalize_punctuation 2>normalize-punctuation.$LANG.err | /toolbox/moses/scripts/tokenizer/tokenizer.perl -a -b -threads 1 -l $LANG 2>tokenizer.$LANG.err | /toolbox/moses/scripts/tokenizer/lowercase.perl 2>lowercase.$LANG.err
diff --git a/preprocess_nolow b/preprocess_nolow
deleted file mode 100755
index fc466b6..0000000
--- a/preprocess_nolow
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/zsh
-
-LANG=$1
-~/scripts/htmlentities 2>htmlentities.$LANG.err | ~/scripts/normalize-punctuation 2>normalize-punctuation.$LANG.err | ~/moses/scripts/tokenizer/tokenizer.perl -a -b -threads 1 -l $LANG 2>tokenizer.$LANG.err
-