public class IDFeatureFlatFileExporterImpl extends AbstractExporter
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
boolIsSymmetric  | 
(package private) java.util.HashMap<java.lang.Integer,java.lang.String> | 
objID2String  | 
protected java.lang.String | 
strWordNumberList  | 
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 | 
|---|
IDFeatureFlatFileExporterImpl()
Creates a new instance of FlatFileExporterImpl 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
export()
Export extracted and calculated information to export file, which 
 name contain ConfigurationContainer. 
 | 
boolean | 
export(java.io.OutputStream strmOut)
Create temporarily  file, export to this file extracted values, sort values from 
 this file and write sorted values to strOutputFile. 
 | 
boolean | 
export(java.lang.String strOutputFile)
Export extracted and calculated information to export file, which 
 name is given by output file name. 
 | 
protected void | 
exportFlatFile(java.io.OutputStream strmOut)
Calculate some values like dblSigMess, dblSigMessString... and write
 this values in following format: 
 word \t TMPValue \t dblSigMess \n
 intTMPValue \t dblSigMessString \n
 dblSigMess \n
 dblSigMessString \n
 intWSWNMapping \t 
 | 
protected java.lang.String | 
getString2ID(java.lang.Integer objID)  | 
void | 
init()
Initialization of configuration. 
 | 
protected void | 
loadIDMapping()  | 
calcDataSetsPerBucket, export, getInt, getWord, getWordFrequencies, loadDiscHash, loadSignificance, loadWordFrequencies, loadWordNumbers, loadWSWN, setCutoffSignificanceMeasure, setSignificanceMeasureconfig, getConfiguration, getGlobalProperty, getProperty, getProperty, getStatisticsProperty, loadFormatImpl, selfconfig, setGlobalProperty, setProperty, setProperty, setStatisticsProperty, setStatisticsPropertyprotected java.lang.String strWordNumberList
protected boolean boolIsSymmetric
java.util.HashMap<java.lang.Integer,java.lang.String> objID2String
public IDFeatureFlatFileExporterImpl()
public void init()
          throws ConfigurationException
AbstractExporterinit in interface Configurationinit in class AbstractExporterConfigurationExceptionConfiguration.init()protected void loadIDMapping()
                      throws ConfigurationException
ConfigurationExceptionprotected java.lang.String getString2ID(java.lang.Integer objID)
public boolean export()
               throws java.io.IOException,
                      EmptyExportException,
                      FormatException
Exporterexport in interface Exporterexport in class AbstractExporterjava.io.IOExceptionEmptyExportExceptionFormatExceptionpublic boolean export(java.lang.String strOutputFile)
               throws java.io.IOException,
                      EmptyExportException,
                      FormatException
Exporterexport in interface Exporterexport in class AbstractExporterstrOutputFile - output file namejava.io.IOExceptionEmptyExportExceptionFormatExceptionpublic boolean export(java.io.OutputStream strmOut)
               throws java.io.IOException,
                      EmptyExportException,
                      FormatException
strmOut - output streamjava.io.IOExceptionEmptyExportExceptionFormatExceptionprotected void exportFlatFile(java.io.OutputStream strmOut)
                       throws java.io.IOException,
                              EmptyExportException,
                              FormatException
strmOut - OutputStreamjava.io.IOExceptionEmptyExportExceptionFormatException2005-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