marf.Preprocessing.Dummy
Class Raw

java.lang.Object
  extended bymarf.Storage.StorageManager
      extended bymarf.Preprocessing.Preprocessing
          extended bymarf.Preprocessing.Dummy.Dummy
              extended bymarf.Preprocessing.Dummy.Raw
All Implemented Interfaces:
java.lang.Cloneable, IPreprocessing, IStorageManager, java.io.Serializable

public class Raw
extends Dummy

Implements raw preprocessing module for testing purposes that does not do any preprocessing.

$Id: Raw.java,v 1.13 2005/12/31 23:17:37 mokhov Exp $

Since:
0.3.0.2
Version:
$Revision: 1.13 $
Author:
Serguei Mokhov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class marf.Preprocessing.Preprocessing
oSample
 
Fields inherited from class marf.Storage.StorageManager
bDumpOnNotFound, iCurrentDumpMode, oObjectToSerialize, strFilename
 
Fields inherited from interface marf.Preprocessing.IPreprocessing
MARF_INTERFACE_CODE_REVISION
 
Fields inherited from interface marf.Storage.IStorageManager
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_HTML, DUMP_SQL, DUMP_XML, MARF_INTERFACE_CODE_REVISION, STORAGE_FILE_EXTENSIONS
 
Constructor Summary
Raw()
          Default constructor for reflective creation of Preprocessing clones.
Raw(IPreprocessing poPreprocessing)
          Implementation of the preprocessing pipeline.
Raw(Sample poSample)
          Raw Constructor.
 
Method Summary
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 boolean preprocess()
          Raw implementation of preprocess() for testing.
 
Methods inherited from class marf.Preprocessing.Dummy.Dummy
cropAudio, removeNoise, removeSilence
 
Methods inherited from class marf.Preprocessing.Preprocessing
backSynchronizeObject, clone, compress, compress, getSample, normalize, normalize, normalize, setSample
 
Methods inherited from class marf.Storage.StorageManager
dump, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, equals, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, hashCode, restore, restoreBinary, restoreCSV, restoreGzipBinary, restoreHTML, restoreSQL, restoreXML, setDumpMode, setFilename, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Raw

public Raw()
Default constructor for reflective creation of Preprocessing clones. Typically should not be used unless really necessary for the frameworked modules.

Since:
0.3.0.5

Raw

public Raw(IPreprocessing poPreprocessing)
    throws PreprocessingException
Implementation of the preprocessing pipeline.

Parameters:
poPreprocessing - successor preprocessing module
Throws:
PreprocessingException

Raw

public Raw(Sample poSample)
    throws PreprocessingException
Raw Constructor.

Parameters:
poSample - incoming sample
Throws:
PreprocessingException
Method Detail

preprocess

public boolean preprocess()
                   throws PreprocessingException
Raw implementation of preprocess() for testing. Does not do any preprocessing.

Specified by:
preprocess in interface IPreprocessing
Overrides:
preprocess in class Dummy
Returns:
true
Throws:
PreprocessingException - never thrown

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string


SourceForge Logo