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, strSortingOrderBOOLEAN_DEFAULT, DOUBLE_DEFAULT, FORMAT_IMPL, INT_DEFAULT, LONG_DEFAULT, objConf, objConfCategory, objFormat, strBackupConfFile, STRING_DEFAULTARRAY_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, setSignificanceMeasureconfig, getConfiguration, getGlobalProperty, getProperty, getProperty, getStatisticsProperty, loadFormatImpl, selfconfig, setGlobalProperty, setProperty, setProperty, setStatisticsProperty, setStatisticsPropertypublic CooccurrenceInvertedListFlatFileExporterImpl()
public void init()
throws ConfigurationException
init in interface Configurationinit in class AbstractExporterConfigurationExceptionConfiguration.init()public boolean export()
throws java.io.IOException,
EmptyExportException,
FormatException
export in interface Exporterexport in class AbstractExporterjava.io.IOExceptionEmptyExportExceptionFormatExceptionAbstractExporter.export()public boolean export(java.lang.String strOutputFile)
throws java.io.IOException,
EmptyExportException,
FormatException
export in interface Exporterexport in class AbstractExporterstrOutputFile - output file namejava.io.IOExceptionEmptyExportExceptionFormatExceptionAbstractExporter.export(java.lang.String)protected void doExport(java.io.OutputStream strmOut)
throws java.io.IOException,
FormatException,
EmptyExportException
strmOut - OutputStreamjava.io.IOExceptionFormatExceptionEmptyExportException2005-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