Browse thread
ANNOUNCE - OCaml interface to WordNet
- ramu ramamurthy
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 WordNet |
This package contains the OCaml Interface to WordNet.
It enables Ocaml programs to use
the Wordnet dictionary for (english) word forms and
meanings. For more information on WordNet refer
http://wordnet.princeton.edu/
This library directly parses the WordNet dictionary
files, and does not depend on any other libraries.
This library is released under the BSD license and
is available at:
http://ramamurthy.ramu.googlepages.com/ocamlwordnet
The package contains:
* README.txt
* wordnet.mli (Module Interface)
* wordnet.ml (Module Implementation)
* related.ml (Example Application OCaml WordNet
API)
Example Application:
related.ml contains a toy application of the
api. Given a word, it finds related words - related
as a synonym or as a "sibling" under the HYPONYM/
HYPERNYM relationship between meanings.
relatedWords "camel"
gives
[(0, "camel"); (0, "hippo"); (0, "hippopotamus");
(0, "hippopotamus_amphibius"); (0, "llama"); (0,
"musk_hog");
(0, "peccary"); (0, "river_horse"); (0, "ruminant");
(0, "swine");
(0, "vicugna_vicugna"); (0, "vicuna")]
relatedWords "google"
gives
[(0, "google"); (0, "google"); (1, "cast_around");
(1, "re-explore");
(0, "ask_jeeves"); (0, "beat_about"); (0,
"cast_about"); (0, "prospect");
(0, "yahoo")]
Ramu Ramamurthy