Lingua::LinkParser::FindPath - Find paths in diagrams generated by Link Grammar Parser


Lingua-LinkParser-FindPath documentation  | view source Contained in the Lingua-LinkParser-FindPath distribution.

Index


NAME

Top

Lingua::LinkParser::FindPath - Find paths in diagrams generated by Link Grammar Parser

SYNOPSIS

Top

    use Data::Dumper;
    use Lingua::LinkParser::FindPath;
    my $f = new Lingua::LinkParser::FindPath;
    $f->sentence('John sees a girl in the park with a telescope');

    print $f->get_diagram;

    print Dumper [ $f->find('John' => 'telescope') ];

    print $f->find_as_string('John' => 'telescope'),$/;

DESCRIPTION

Top

This module helps you to find a path linking from one word to another word in diagrams generated by Link Grammar Parser.

See also Lingua::LinkParser and Lingua::LinkParser::MatchPath.

COPYRIGHT AND LICENSE

Top


Lingua-LinkParser-FindPath documentation  | view source Contained in the Lingua-LinkParser-FindPath distribution.