Danny Brian > Lingua-LinkParser > Lingua::LinkParser::Simple

Download:
Lingua-LinkParser-1.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  0
View/Report Bugs
Module Version: 1.17   Source  

NAME ^

Lingua::LinkParser::Simple - Experiments with some high-level link grammar processing.

SYNOPSIS ^

  use Lingua::LinkParser::Simple;
  @subjects = extract_subject(sentence => $sentence, verb => $verb);

DESCRIPTION ^

This module allows simple but incomplete access to the features provided by Lingua::LinkParser, and should be considered purely experimental. If you have any cool functions you'd like added here, let me know.

extract_subject(sentence => STRING, verb => WORD)

This function tries to parse the sentence, find the specified verb, and return all words (or noun phrases) that are subjects for that verb.

AUTHOR ^

Danny Brian <danny@brians.org>

SEE ALSO ^

perl.

syntax highlighting: