Skip to content

Commit

Permalink
removed perl 5.14 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefs committed May 3, 2012
1 parent 0a1be97 commit f137bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Lingua/EN/Sentence/Offsets.pm
Expand Up @@ -234,10 +234,10 @@ sub _split_sentence {
my $last = $offsets->[$i][1];
$offsets->[$i][1] = $end;
while(my $p = shift @$split_points){
push $offsets, [$start,$p->[0]];
push @$offsets, [$start,$p->[0]];
$start = $p->[1];
}
push $offsets, [$start, $last];
push @$offsets, [$start, $last];
}

=method adjust_offsets
Expand Down

0 comments on commit f137bd9

Please sign in to comment.