public class CooccurrenceInvertedListFlatFileExporterImpl extends AbstractExporter
BLOCK_SIZE, BLOCKS, boolExportFrequency, boolReplaceWordNumbers, boolSorting, charSortingDirection, CUTOFF_SIGNIFICANCE_IMPL, dblCutoffThreshold, dblThreshold, intAccuracy, intCounterSize, intDataSetsPerBucket, intFreqCutoffThreshold, intFreqMinimumThreshold, intKeyCoordinates, intSizeOfDataset, intSizeOfDiscHashValue, intSizeOfKey, intSortingOrder, intWSWNMapping, longCoocTypes, longSigCoocTokens, longSigCoocTypes, objCutoffSignificance, objDiscHash, objInt2Word, objSignificance, objWordFrequencies, PARSER_FILTER_IMPL, SIGNIFICANCE_IMPL, STORE_IMPL, strFlatFileSeperator, strOutputFile, strSortingDirection, strSortingOrder
BOOLEAN_DEFAULT, DOUBLE_DEFAULT, FORMAT_IMPL, INT_DEFAULT, LONG_DEFAULT, objConf, objConfCategory, objFormat, strBackupConfFile, STRING_DEFAULT
ARRAY_SIZE_32_BIT, ARRAY_SIZE_64_BIT
Constructor and Description |
---|
CooccurrenceInvertedListFlatFileExporterImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doExport(java.io.OutputStream strmOut)
Check existence of persistent hash file.
|
boolean |
export()
Exports the cooccurrence inverse list hash to a flat file, which name
contain ConfigurationContainer.
|
boolean |
export(java.lang.String strOutputFile)
Exports the cooccurrence inverse list hash to a flat file, which name is
given by output file name.
|
void |
init()
Initiation method to do the configuration for this class.
|
calcDataSetsPerBucket, export, getInt, getWord, getWordFrequencies, loadDiscHash, loadSignificance, loadWordFrequencies, loadWordNumbers, loadWSWN, setCutoffSignificanceMeasure, setSignificanceMeasure
config, getConfiguration, getGlobalProperty, getProperty, getProperty, getStatisticsProperty, loadFormatImpl, selfconfig, setGlobalProperty, setProperty, setProperty, setStatisticsProperty, setStatisticsProperty
public CooccurrenceInvertedListFlatFileExporterImpl()
public void init() throws ConfigurationException
init
in interface Configuration
init
in class AbstractExporter
ConfigurationException
Configuration.init()
public boolean export() throws java.io.IOException, EmptyExportException, FormatException
export
in interface Exporter
export
in class AbstractExporter
java.io.IOException
EmptyExportException
FormatException
AbstractExporter.export()
public boolean export(java.lang.String strOutputFile) throws java.io.IOException, EmptyExportException, FormatException
export
in interface Exporter
export
in class AbstractExporter
strOutputFile
- output file namejava.io.IOException
EmptyExportException
FormatException
AbstractExporter.export(java.lang.String)
protected void doExport(java.io.OutputStream strmOut) throws java.io.IOException, FormatException, EmptyExportException
strmOut
- OutputStreamjava.io.IOException
FormatException
EmptyExportException
2005-2013 Marco Büchler, Natural Language Processing Group, University of Leipzig, Germany. 2013-2016 Marco Büchler, Georg August University Göttingen, Göttingen, Germany