in reply to Splitting a Sentence
You can also add your own items to the list like this:
use Lingua::EN::Sentence qw( get_sentences add_acronyms ); add_acronyms('ed','eds'); # adding support for 'Ed. Eds.' my $sentences = get_sentences($text); for my $sentence (@$sentences) { # do something with $sentence }
|
|---|