Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/generic/extract-factors.pl')
-rwxr-xr-xscripts/generic/extract-factors.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/generic/extract-factors.pl b/scripts/generic/extract-factors.pl
index fdd30082f..56c719051 100755
--- a/scripts/generic/extract-factors.pl
+++ b/scripts/generic/extract-factors.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
# $Id$
#extract-factors.pl: extract only the desired factors from a factored corpus
@@ -6,6 +6,7 @@
#factor indices start at 0
#factor indices too large ought to be ignored
+use warnings;
use strict;
my ($filename, @factors) = @ARGV;