Differentia Extraction Code
Supporting code for
O'Hara (2005),
Empirical Acquisition of Conceptual Distinctions via Dictionary Definitions, PhD Dissertation, New Mexico State University, 2005.
Links to individual scripts are shown below, along with a brief
description. In addition, a tar archive of the collection is
available:
differentia-extraction.tar.gz.
Main code
extract-differentia.perl: Analyzes dictionary definitions to extract and optionally refine the differentia (distinguishing properties).
disambiguate-parses.perl: Disambiguate parses in relational tuple format by resolving the underlying relations (e.g., for prepositions) and by disambiguating the source and target terms.
est_cue_validities.perl: estimate the cue validities (CV's) of properties for words defined in WordNet (or for relations extracted from definitions).
lexrel2network.perl: purpose is to produce a Bayesian Network given a lexical
relation listing.
Supporting code
belief_network.perl: Perl module for producing belief networks in the formats required for BELIEF and MSBN (Microsoft Belief Network).
diagnose-collocations.perl: Performs diagnosis of the collocation features used in a GraphLing WSD experiment in order to determine cases that might be over-generating, etc.
make_network.perl: produce a series of belief networks given a list lexical relation files.
reweight_relations.perl: re-calculate the weights of the lexical relations in the listing produced by tuple2lexrel.perl using the cue validities information produced by est_cue_validities.perl.
tuple2lexrel.perl: Converts relational tuple output from link grammar (see extract_linkages.perl) into format assumed by lexrel2network.perl.
wordnet.perl: module for accessing the WordNet knowledge base (i.e., WordNet access functions).
Disclaimer
All code is freely available in the GNU sense:
Copyright (c) 2004 Tom O'Hara and New Mexico State University
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
See GNU_public_license.txt for details.