public class DVRIWordsiMain 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 |
|---|
DVRIWordsiMain() |
| 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 SemanticSpaceIO.SSpaceFormat |
getSpaceFormat()
Returns the
format in which the
finished SemanticSpace should be saved. |
protected void |
postProcessing()
Allows subclasses to interact with the
SemanticSpace after the
space has finished processing all of the text. |
addDocIterators, addFileIterators, getAcceptor, getExtractor, getWeighter, handleExtraOptions, maincontextExtractorFromGenerator, 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 postProcessing()
SemanticSpace after the
space has finished processing all of the text.postProcessing in class DVWordsiMainprotected DependencyContextGenerator getContextGenerator()
getContextGenerator in class DVWordsiMainprotected SemanticSpaceIO.SSpaceFormat getSpaceFormat()
format in which the
finished SemanticSpace should be saved. Subclasses should
override this function if they want to specify a specific format that is
most suited for their space, when one is not manually specified by the
user.getSpaceFormat in class DVWordsiMainCopyright © 2012. All Rights Reserved.