Repository: incubator-joshua
Updated Branches:
  refs/heads/master dabdf33c4 -> 6c48a9753


added missing prepare script


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/6c48a975
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/6c48a975
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/6c48a975

Branch: refs/heads/master
Commit: 6c48a9753cfdfc43da4de6a4e72d7358eeb15770
Parents: dabdf33
Author: Matt Post <p...@cs.jhu.edu>
Authored: Thu Oct 13 15:50:55 2016 -0400
Committer: Matt Post <p...@cs.jhu.edu>
Committed: Thu Oct 13 15:50:55 2016 -0400

----------------------------------------------------------------------
 scripts/language-pack/prepare.sh | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/6c48a975/scripts/language-pack/prepare.sh
----------------------------------------------------------------------
diff --git a/scripts/language-pack/prepare.sh b/scripts/language-pack/prepare.sh
new file mode 100755
index 0000000..af3a332
--- /dev/null
+++ b/scripts/language-pack/prepare.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# Strings together the preprocessing scripts
+
+set -u
+
+lang=<SRC>
+
+cd $(dirname $0) # relative paths now safe
+./scripts/normalize.pl $lang | ./scripts/tokenize.pl -l $lang

Reply via email to