Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed perl 5.14 dependency

  • Loading branch information...
commit f137bd96df9d1b749bcc754d1685e5fdc64c86c5 1 parent 0a1be97
@andrefs authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Lingua/EN/Sentence/Offsets.pm
View
4 lib/Lingua/EN/Sentence/Offsets.pm
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.