diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-04-02 16:38:56 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-04-02 16:38:56 +0300 |
commit | 2d1da3219ddcdf923599106818a02e51da3737f8 (patch) | |
tree | 9fd4222301541addaa142e5805f4f6077df47748 /scripts/analysis | |
parent | 035c80605953bbe5ef623c686672c2b5bf190d0c (diff) |
consistently use 'env perl' command for environments where the 1st perl in PATH isn't the default perl. Which is kinda stupid
Diffstat (limited to 'scripts/analysis')
-rwxr-xr-x | scripts/analysis/bootstrap-hypothesis-difference-significance.pl | 2 | ||||
-rwxr-xr-x | scripts/analysis/nontranslated_words.pl | 2 | ||||
-rwxr-xr-x | scripts/analysis/oov.pl | 2 | ||||
-rwxr-xr-x | scripts/analysis/sentence-by-sentence.pl | 2 | ||||
-rwxr-xr-x | scripts/analysis/sg2dot.perl | 2 | ||||
-rwxr-xr-x | scripts/analysis/show-phrases-used.pl | 2 | ||||
-rwxr-xr-x | scripts/analysis/smtgui/filter-phrase-table.pl | 2 | ||||
-rwxr-xr-x | scripts/analysis/suspicious_tokenization.pl | 2 | ||||
-rwxr-xr-x | scripts/analysis/weight-scan.pl | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/scripts/analysis/bootstrap-hypothesis-difference-significance.pl b/scripts/analysis/bootstrap-hypothesis-difference-significance.pl index 50492cad0..b74aa003d 100755 --- a/scripts/analysis/bootstrap-hypothesis-difference-significance.pl +++ b/scripts/analysis/bootstrap-hypothesis-difference-significance.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use utf8; ############################################### diff --git a/scripts/analysis/nontranslated_words.pl b/scripts/analysis/nontranslated_words.pl index 8fd3c4fbc..b5639429b 100755 --- a/scripts/analysis/nontranslated_words.pl +++ b/scripts/analysis/nontranslated_words.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # $Id$ # Reads a source and hypothesis file and counts equal tokens. Some of these diff --git a/scripts/analysis/oov.pl b/scripts/analysis/oov.pl index 15261c410..c5d6f92e3 100755 --- a/scripts/analysis/oov.pl +++ b/scripts/analysis/oov.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Display OOV rate of a test set against a training corpus or a phrase table. # Ondrej Bojar diff --git a/scripts/analysis/sentence-by-sentence.pl b/scripts/analysis/sentence-by-sentence.pl index 82ae57949..c8bc367b2 100755 --- a/scripts/analysis/sentence-by-sentence.pl +++ b/scripts/analysis/sentence-by-sentence.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # $Id$ #sentence-by-sentence: take in a system output, with any number of factors, and a reference translation, also maybe with factors, and show each sentence and its errors diff --git a/scripts/analysis/sg2dot.perl b/scripts/analysis/sg2dot.perl index f6a5dff49..a165cf25e 100755 --- a/scripts/analysis/sg2dot.perl +++ b/scripts/analysis/sg2dot.perl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # # Author : Loic BARRAULT # Script to convert MOSES searchgraph to DOT format diff --git a/scripts/analysis/show-phrases-used.pl b/scripts/analysis/show-phrases-used.pl index 5fedf73f1..c31e930d5 100755 --- a/scripts/analysis/show-phrases-used.pl +++ b/scripts/analysis/show-phrases-used.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # $Id$ #show-phrases-used: display all source and target phrases for each sentence in a corpus, and give average phrase length used diff --git a/scripts/analysis/smtgui/filter-phrase-table.pl b/scripts/analysis/smtgui/filter-phrase-table.pl index db51da63d..ed09d0b3f 100755 --- a/scripts/analysis/smtgui/filter-phrase-table.pl +++ b/scripts/analysis/smtgui/filter-phrase-table.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # $Id$ #by Philipp Koehn, de-augmented by Evan Herbst diff --git a/scripts/analysis/suspicious_tokenization.pl b/scripts/analysis/suspicious_tokenization.pl index 29e32d271..d1e5c1f67 100755 --- a/scripts/analysis/suspicious_tokenization.pl +++ b/scripts/analysis/suspicious_tokenization.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Collects and prints all n-grams that appear in the given corpus both # tokenized as well as untokenized. # Ondrej Bojar diff --git a/scripts/analysis/weight-scan.pl b/scripts/analysis/weight-scan.pl index 6789c4d6d..7283483e9 100755 --- a/scripts/analysis/weight-scan.pl +++ b/scripts/analysis/weight-scan.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # runs Moses many times changing the values of one weight, all others fixed # nbest lists are always produced to allow for comparison of real and # 'projected' BLEU (BLEU estimated from n-best lists collected at a neighouring |