Lingua::LinkParser::Simple - Experiments with some high-level link grammar processing.
use Lingua::LinkParser::Simple; @subjects = extract_subject(sentence => $sentence, verb => $verb);
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.
Danny Brian <email@example.com>
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 136:
'=item' outside of any '=over'
- Around line 141:
You forgot a '=back' before '=head1'