OCaml interface to Link Grammar
Description
This package contains the OCaml interface to Link Grammar. It enables Ocaml
applications to use Link Grammar to parse English sentences. For more information on Link Grammar refer Link Grammar (Link Grammar is available as a free download).
Download
The library is released under the BSD license.
The package contains:
- README.txt
- linkgrammar.mli (module interface)
- linkgrammar.ml (module implementation)
- linkgrammar.c (OCaml interface to linkgrammar C-API)
- utApi.ml (API test)
- utBatch.ml (API test - Parse sentences from a file)
API
View Ocaml LinkGrammar API
Example
Janet, who is an expert on dogs, helped me choose one
Constituent Tree:
S
NP
NP
Janet
,
SBAR
WHNP
who
S
VP
is
NP
an
expert
PP
on
NP
dogs
VP
helped
NP
me
VP
choose
NP
one