| Lingua-LinkParser documentation | view source | Contained in the Lingua-LinkParser distribution. |
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.
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 <danny@brians.org>
perl.
| Lingua-LinkParser documentation | view source | Contained in the Lingua-LinkParser distribution. |