| Trees | Indices | Help |
|
|---|
|
|
Framework for specifying multiple options to a module on the command line.
For modules like taggers and parsers, the options available will vary depending on what component is selected. This framework allows a specific component to list its available options and how they should be interpreted.
This is one of my greater works of genius to be found in this codebase. It's incredibly useful so often.
Author: Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>
|
|||
|
UnprocessedOptionValue Simple wrapper for strings to mark that they haven't yet been processed as option values. |
|||
|
ModuleOption An option that can be specified on the command line and that is specific to a certain modular component (e.g. |
|||
| ModuleOptionError | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
__package__ = Nonehash(x) |
|||
|
|||
A filter function for filenames of existing files. Errors if the file doesn't exist. |
A filter function for a new filename. Doesn't require the file to exist, but errors if the directory doesn't exist. |
A filter function for floats that should lie between 0.0 and 1.0. Accepts the range ends (0.0 and 1.0). Raises an errror for any incorrectly formatted numbers or numbers outside this range. This is useful for probabilities or ratios. |
Filter function constructor. Returns a filter function that will
verify that the filtered value is among the |
Filter function constructor. Returns a filter function that will verify that the value is one of those in the list and then just return that value if it is. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:56 2012 | http://epydoc.sourceforge.net |