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, getWeighter
contextExtractorFromGenerator, getAcceptedWords, getDocumentIterator, getPseudoWordMap, getSpace, loadObject, openLoadFile, openSaveFile, saveObject, windowSize
addCorpusReaderIterators, getAlgorithmSpecifics, loadValidTermSet, parseDocumentsMultiThreaded, parseDocumentsSingleThreaded, processDocumentsAndSpace, run, saveSSpace, setupOptions, setupProperties, usage, verbose, verbose
protected 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 DVWordsiMain
options
- the ArgOptions object which more main specific options can
be added to.GenericMain.handleExtraOptions()
protected void handleExtraOptions()
getSpace
.handleExtraOptions
in class DVWordsiMain
GenericMain.addExtraOptions(ArgOptions)
protected void postProcessing()
SemanticSpace
after the
space has finished processing all of the text.postProcessing
in class DVWordsiMain
protected DependencyContextGenerator getContextGenerator()
getContextGenerator
in class DVWordsiMain
Copyright © 2012. All Rights Reserved.