Help for this page

Select Code to Download


  1. or download this
    # Note that Lingua::StanfordCoreNLP can't be instantiated.
    use Lingua::StanfordCoreNLP;
    ...
    # Process text
    # (Will output lots of debug info from the Java classes to STDERR.)
    my $result = $pipeline->process( $text );
    
  2. or download this
    package MyModule;
    
    ...
      my ($self,$text) = @_;
      $pipeline->process( $text );
    }
    
  3. or download this
    Can't locate object method "new" via package "Lingua::StanfordCoreNLP::Pipeline" (perhaps you forgot to load "Lingua::StanfordCoreNLP::Pipeline"?)