The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Lingua::LinkParser::Definitions - Extension to the Lingua::LinkParser module providing text definitions for link types.

SYNOPSIS

  use Lingua::LinkParser::Definitions;

  my $definition = define(LINKTYPE,'short|link');

DESCRIPTION

  This module provides an interface to retrieving text information about link types within Link Grammar, much link context-sensitive "help". There are two formats to this information: one, a short summary definiting a type, and two, a link to the full document which can be used within a web interface, or referenced locally. This documenation is taken from the Link Parser web site at http://bobo.link.cs.cmu.edu/index.html/dict/index.html, and is equivalent to the "short summary" and "guide-to-links" documents.

  There is only one function, 'lookup()'. It takes a link type and a "short" or "link" string. If no second parameter is present, the lookup will default to short. The module will look for an entry for that link type; if none is found, it will strip off the last character for link sub-types, and try again. 

  While the data provided by this module might be considered too dynamic for inclusion in a package of its own, in truth the definitions change little. They are included here only for convenience by persons who, like myself, do not have the types memorized, and don't enjoy looking them up every time they parse a sentence. :)

AUTHOR

dbrian@brians.org

SEE ALSO

Lingua::LinkParser perl(1).