|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object marf.Storage.StorageManager marf.Preprocessing.Preprocessing marf.Preprocessing.Dummy.Dummy
Implements dummy preprocessing module for testing purposes that does only normalization.
$Id: Dummy.java,v 1.25 2005/12/31 23:17:37 mokhov Exp $
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 | |
Dummy()
Default constructor for reflective creation of Preprocessing clones. |
|
Dummy(IPreprocessing poPreprocessing)
Implementation of the preprocessing pipeline. |
|
Dummy(Sample poSample)
Dummy Constructor. |
Method Summary | |
boolean |
cropAudio(double pdStartingFrequency,
double pdEndFrequency)
Dummy implementation of cropAudio() for testing. |
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
boolean |
preprocess()
Dummy implementation of preprocess() for testing. |
boolean |
removeNoise()
Dummy implementation of removeNoise() for testing. |
boolean |
removeSilence()
Dummy implementation of removeSilence() for testing. |
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 |
public Dummy()
public Dummy(IPreprocessing poPreprocessing) throws PreprocessingException
poPreprocessing
- successor preprocessing module
PreprocessingException
public Dummy(Sample poSample) throws PreprocessingException
poSample
- incomping sample
PreprocessingException
Method Detail |
public boolean preprocess() throws PreprocessingException
preprocess()
for testing.
true
PreprocessingException
- never thrownIPreprocessing.removeNoise()
,
IPreprocessing.removeSilence()
public final boolean removeNoise() throws PreprocessingException
removeNoise()
for testing.
removeNoise
in interface IPreprocessing
removeNoise
in class Preprocessing
false
PreprocessingException
- never thrownpublic final boolean removeSilence() throws PreprocessingException
removeSilence()
for testing.
removeSilence
in interface IPreprocessing
removeSilence
in class Preprocessing
false
PreprocessingException
- never thrownpublic final boolean cropAudio(double pdStartingFrequency, double pdEndFrequency) throws PreprocessingException
cropAudio()
for testing.
cropAudio
in interface IPreprocessing
cropAudio
in class Preprocessing
pdStartingFrequency
- unusedpdEndFrequency
- unused
false
PreprocessingException
- never thrownpublic static java.lang.String getMARFSourceCodeRevision()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |