public class DependencyBasisMaker extends DependencyGenericMain
BasisMapping based on the unique terms found in a
document set and serializes it to disk.| Modifier and Type | Class and Description |
|---|---|
class |
DependencyBasisMaker.OccurrenceCounter
A simple term
SemanticSpace implementation that counts word
co-occurrences, performs a transform, and then scores each recorded basis
dimension based on the row summed scores for each word. |
argOptions, EXT, isMultiThreaded, verbose| Constructor and Description |
|---|
DependencyBasisMaker() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtraOptions(ArgOptions options)
Adds options to the provided
ArgOptions instance, which will be
used to parse the command line. |
protected SemanticSpace |
getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected void |
saveSSpace(SemanticSpace sspace,
File outputFile)
Saves the
BasisMapping created from the DependencyBasisMaker.OccurrenceCounter. |
addDocIterators, addFileIterators, setupDependencyExtractor, usageaddCorpusReaderIterators, getAlgorithmSpecifics, getDocumentIterator, getSpaceFormat, handleExtraOptions, loadValidTermSet, parseDocumentsMultiThreaded, parseDocumentsSingleThreaded, postProcessing, processDocumentsAndSpace, run, setupOptions, setupProperties, verbose, verbosepublic 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 DependencyGenericMainoptions - the ArgOptions object which more main specific options can
be added to.GenericMain.handleExtraOptions()protected SemanticSpace getSpace()
SemanticSpace that will be used for processing. This
method is guaranteed to be called after the command line arguments have
been parsed, so the contents of GenericMain.argOptions are valid.getSpace in class GenericMainprotected void saveSSpace(SemanticSpace sspace, File outputFile) throws IOException
BasisMapping created from the DependencyBasisMaker.OccurrenceCounter.saveSSpace in class GenericMainIOExceptionCopyright © 2012. All Rights Reserved.