You are looking at historical revision 34584 of this page. It may differ significantly from its current revision.

Chicken bindings to the CMU link grammar parser.

Description

The link grammar parser is a syntactic parser of English, based on link grammar, an original theory of English syntax. Given a sentence, the system assigns to it a syntactic structure, which consists of a set of labeled links connecting pairs of words. The parser also produces a "constituent" representation of a sentence (showing noun phrases, verb phrases, etc.).

Author

David Ireland

API

System Initialization

Dictionary

[procedure] (lg:dictionary-with-language str)
Returns a pointer to a dictionary with specified language
[procedure] (lg:create-default-dictionary)
Returns a pointer to a dictionary with default language
  
[procedure] (lg:get-dictionary-language dictionary)
Returns the language of the specified dictionary
  
[procedure] (lg:delete-dictionary dictionary)
Destroys the specified dictionary
[procedure] (lg:dictionary-set-data-dir! str)
Sets the directory containing the dictionary files
  
[procedure] (lg:dictionary-get-data-dir dictionary)
Returns the directory of the specified dictionary
[procedure] (lg:dictionary-create-from-utf8)
Returns a pointer to a dictinoary created from UTF-8

Parse Options

Sentences

Linkages