public class DVWCWordsiMain extends DVWordsiMain
Wordsi. GenericWordsiMain provides the core command line arguments and
functionality. This class provides the following additional arguments:
-p, --pathAcceptor=CLASSNAME Specifies the DependencyPathAcceptor to use when validating paths as features.
(Default: UniversalPathAcceptor)
-W, --weightingFunction=CLASSNAME Specifies the
class that will weight dependency paths.
-b, --basisMapping=CLASSNAME Specifies the class
that deterine what aspect of a DependencyPath will as a feature
in the word space. (Default: WordBasedBasisMapping)
argOptions, EXT, isMultiThreaded, verbose| Constructor and Description |
|---|
DVWCWordsiMain() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtraOptions(ArgOptions options)
Adds options to the provided
ArgOptions instance, which will be
used to parse the command line. |
protected DependencyContextGenerator |
getContextGenerator() |
protected void |
handleExtraOptions()
Once the command line has been parsed, allows the subclasses to perform
additional steps based on class-specific options.
|
static void |
main(String[] args) |
protected void |
postProcessing()
Allows subclasses to interact with the
SemanticSpace after the
space has finished processing all of the text. |
addDocIterators, addFileIterators, getAcceptor, getExtractor, getSpaceFormat, getWeightercontextExtractorFromGenerator, getAcceptedWords, getDocumentIterator, getPseudoWordMap, getSpace, loadObject, openLoadFile, openSaveFile, saveObject, windowSizeaddCorpusReaderIterators, getAlgorithmSpecifics, loadValidTermSet, parseDocumentsMultiThreaded, parseDocumentsSingleThreaded, processDocumentsAndSpace, run, saveSSpace, setupOptions, setupProperties, usage, verbose, verboseprotected void addExtraOptions(ArgOptions options)
ArgOptions instance, which will be
used to parse the command line. This method allows subclasses the
ability to add extra command line options.addExtraOptions in class DVWordsiMainoptions - the ArgOptions object which more main specific options can
be added to.GenericMain.handleExtraOptions()protected void handleExtraOptions()
getSpace.handleExtraOptions in class DVWordsiMainGenericMain.addExtraOptions(ArgOptions)protected void postProcessing()
SemanticSpace after the
space has finished processing all of the text.postProcessing in class DVWordsiMainprotected DependencyContextGenerator getContextGenerator()
getContextGenerator in class DVWordsiMainCopyright © 2012. All Rights Reserved.