Version française
Home     About     Download     Resources     Contact us    
Browse thread
ANNOUNCE - Ocaml interface to Link Grammar
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: ramu ramamurthy <ramu_ramamurthy@y...>
Subject: ANNOUNCE - Ocaml interface to Link Grammar

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
http://www.link.cs.cmu.edu/link/
(Link Grammar is available as a free download).

Download

http://ramamurthy.ramu.googlepages.com/ocamllinkgrammar

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)

Example

"Janet, who is an expert on dogs, helped me choose
one"

Parse 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