Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

config.pod
listing of configuration options, and configuration file format.

config.pod - listing of configuration options, and configuration file format.


NAME

config.pod - listing of configuration options, and configuration file format.


SYNOPSIS

Description of all known configuration options, and configuration file format.


DESCRIPTION

The following is a list of options supported by the WordNet::SenseRelate::TargetWord modules. This is intended to serve as a ``master list'' of options so that descriptions can be copied from here and pasted into the documentation for specific modules.

WordNet::SenseRelate::Preprocess::Compounds
No configuration options.

WordNet::SenseRelate::Context::NearestWords
windowstop=FILENAME FILENAME specifies a list of stop words which should be ignored during context selection.

windowsize=N N is an integer that specifies the size of the window (default is 5).

contextpos=<POS> POS specifies the part-of-speech ('n', 'v', 'a' or 'r') to which the context words should be restricted.

WordNet::SenseRelate::Algorithm::Local
measure=MODULENAME MODULENAME is the name of the semantic relatedness module that will be used by the local disambiguation algorithm to compute the relatedness of word senses.

measureconfig=FILENAME FILENAME is the name of the cofiguration file that will be used to initialize the semantic relatedness module.

WordNet::SenseRelate::Algorithm::Global
measure=MODULENAME MODULENAME is the name of the semantic relatedness module that will be used by the local disambiguation algorithm to compute the relatedness of word senses.

measureconfig=FILENAME FILENAME is the name of the cofiguration file that will be used to initialize the semantic relatedness module.

WordNet::SenseRelate::Algorithm::SenseOne
No configuration options

WordNet::SenseRelate::Algorithm::Random
No configuration options.


CONFIGURATION FILE FORMAT

A configuration file can be passed to both, disamb.pl as well as to disamb-gui.pl in order to set up the configuration parameters for the modules. The format of this file is specified in this section.

The configuration file must start with a header, which is the string ``WordNet::SenseRelate::TargetWord'' on the first byte of the first line of the file.

It consists of a number of sections. Each section contains a list of modules for that section, along with the configuration options for the modules.

A section starts with the string


  [SECTION:section_name]

A new section header indicates the end of the previous section. The utilies in this package recognize four types of sections:


  [SECTION:PREPROCESS]

  [SECTION:CONTEXT]

  [SECTION:POSTPROCESS]

  [SECTION:ALGORITHM]

Any other section will be ignored by the program, without warning. Each of the sections is used to specify the list of modules for that section. A module is specified by [START modname] and [END] tags appearing on separate lines.

Configuration parameters for the module appear on separate lines in between the start and end tags as PARAMETER=VALUE pairs.

Example config file:

WordNet::SenseRelate::TargetWord

[SECTION:PREPROCESS]

[START WordNet::SenseRelate::Preprocess::Compounds]

[END]

[SECTION:CONTEXT]

[START WordNet::SenseRelate::Context::NearestWords]

windowsize=5

windowstop=/home/sid/window-stop.txt

[END]

[SECTION:POSTPROCESS]

[SECTION:ALGORITHM]

[START WordNet::SenseRelate::Algorithm::Local]

[END]

The above config file has four sections -- PREPROCESS, CONTEXT, POSTPROCESS and ALGORITHM. The PREPROCESS section contains a single module for compound detection, and has no config parameters. The CONTEXT section lists one module (NearestWords), with parameters windowsize and windowstop. There are no modules listed in the POSTPROCESS section. The ALGORITHM section lists the Local disambiguation algorithm module, also with no config parameters.


AUTHORS


 Ted Pedersen, University of Minnesota Duluth

 tpederse at d.umn.edu

 Siddharth Patwardhan, University of Utah, Salt Lake City

 sidd at cs.utah.edu

 Satanjeev Banerjee, Carnegie Mellon University, Pittsburgh

 banerjee+ at cs.cmu.edu


KNOWN BUGS

None.


SEE ALSO

intro.pod, WordNet::SenseRelate::TargetWord(3pm)


COPYRIGHT AND LICENSE

Copyright (c) 2005 Ted Pedersen, Siddharth Patwardhan, and Satanjeev Banerjee

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

Note: a copy of the GNU Free Documentation License is available on the web at http://www.gnu.org/copyleft/fdl.html and is included in this distribution as FDL.txt.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy