From OpenCog
(Redirected from LgLinkInstanceNode)

A type of Link used to obtain parses from the link-grammar parser. See opencog/nlp/lg-parse for details and the design discussion.

The format that is generated by parsing is described in the sentence representation page.


Here is a working example usage:

(use-modules (opencog) (opencog exec))
(use-modules (opencog nlp) (opencog nlp lg-parse))

      (PhraseNode "this is a test.")
      (LgDictNode "en")
      (NumberNode 1)))


See also