Help for this page

Select Code to Download


  1. or download this
            use Lingua::Sentence;
    
    ...
            my $text = 'This is a paragraph. It contains several sentences
    +. "But why," you ask?';
    
            print $splitter->split($text);
    
  2. or download this
        # Try loading nonbreaking prefix file specified in constructor
        my $dir = dist_dir('Lingua-Sentence');