summaryrefslogtreecommitdiff
path: root/corpus/cut-corpus.pl
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-02-21 14:13:55 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-02-21 14:13:55 +0000
commitbca26d953a774b8efca12f30407390b3f5eef9d0 (patch)
treefe922de5c89b1844f677d550dcc24e87edd67a55 /corpus/cut-corpus.pl
parent54a1c0e2bde259e3acc9c0a8ec8da3c7704e80ca (diff)
parent95c364f2cb002241c4a62bedb1c5ef6f1e9a7f22 (diff)
Merge branch 'master' of https://github.com/pauldb89/cdec
Diffstat (limited to 'corpus/cut-corpus.pl')
-rwxr-xr-xcorpus/cut-corpus.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/corpus/cut-corpus.pl b/corpus/cut-corpus.pl
index 7daac0e2..0af3b23c 100755
--- a/corpus/cut-corpus.pl
+++ b/corpus/cut-corpus.pl
@@ -22,7 +22,7 @@ for my $ff (@ind) {
while(<>) {
chomp;
- my @fields = split / \|\|\| /;
+ my @fields = split /\s*\|\|\|\s*/;
my @sf;
for my $i (@o) {
my $y = $fields[$i];