Serialized Form


Package marf.Classification

Class marf.Classification.Classification extends StorageManager implements Serializable

Serialized Fields

oFeatureExtraction

IFeatureExtraction oFeatureExtraction
Reference to the enclosed FeatureExtraction object.


oTrainingSet

TrainingSet oTrainingSet
TrainingSet Container.


oResultSet

ResultSet oResultSet
Classification result set. May contain one or more results (in case of similarity).

Since:
0.3.0

Class marf.Classification.ClassificationException extends MARFException implements Serializable


Package marf.Classification.Distance

Class marf.Classification.Distance.ChebyshevDistance extends Distance implements Serializable

Class marf.Classification.Distance.DiffDistance extends Distance implements Serializable

Class marf.Classification.Distance.Distance extends Classification implements Serializable

Class marf.Classification.Distance.EuclideanDistance extends Distance implements Serializable

Class marf.Classification.Distance.MahalanobisDistance extends Distance implements Serializable

Serialized Fields

oC

Matrix oC
Covariance Matrix.

Class marf.Classification.Distance.MinkowskiDistance extends Distance implements Serializable

Serialized Fields

r

double r
Minkowski Factor. Default is 3; r = 1 is Chebyshev distance, r = 2 is Euclidean distance.


Package marf.Classification.Markov

Class marf.Classification.Markov.Markov extends Stochastic implements Serializable


Package marf.Classification.NeuralNetwork

Class marf.Classification.NeuralNetwork.NeuralNetwork extends Classification implements Serializable

Serialized Fields

layers

java.util.ArrayList layers
Array of Layers.


curr

java.util.ArrayList curr
Current layer.


currLayer

int currLayer
Current layer's #.


currLayerBuf

int currLayerBuf
currLayerBuf.


currNeuron

Neuron currNeuron
Current Neuron.


neuron_type

int neuron_type
Neuron Type.


inputs

java.util.ArrayList inputs
Input layer.


outputs

java.util.ArrayList outputs
Output layer.


Package marf.Classification.RandomClassification

Class marf.Classification.RandomClassification.RandomClassification extends Classification implements Serializable

Serialized Fields

oIDs

java.util.Vector oIDs
Vector of integer IDs.


Package marf.Classification.Stochastic

Class marf.Classification.Stochastic.MaxProbabilityClassifier extends Stochastic implements Serializable

Serialized Fields

oStatisticalEstimator

StatisticalEstimator oStatisticalEstimator
Local reference to some instance of a statistical estimator for probability computation.


oAvailLanguages

java.util.Vector oAvailLanguages
A collection of available natural languages.

Class marf.Classification.Stochastic.Stochastic extends Classification implements Serializable

Class marf.Classification.Stochastic.ZipfLaw extends Stochastic implements Serializable

Serialized Fields

oStats

java.util.Hashtable oStats
Local collection of stats.


oSortedStatRefs

WordStats[] oSortedStatRefs
Sorted references to stats.


bDumpLog

boolean bDumpLog
Indicates whether to dump log or not.


Package marf.FeatureExtraction

Class marf.FeatureExtraction.FeatureExtraction extends StorageManager implements Serializable

Serialized Fields

oPreprocessing

IPreprocessing oPreprocessing
Internal reference to the Preprocessing module.


adFeatures

double[] adFeatures
An array of features extracted (coefficiencies and/or amplitude values).

Class marf.FeatureExtraction.FeatureExtractionException extends MARFException implements Serializable


Package marf.FeatureExtraction.Cepstral

Class marf.FeatureExtraction.Cepstral.Cepstral extends FeatureExtraction implements Serializable


Package marf.FeatureExtraction.F0

Class marf.FeatureExtraction.F0.F0 extends FeatureExtraction implements Serializable


Package marf.FeatureExtraction.FFT

Class marf.FeatureExtraction.FFT.FFT extends FeatureExtraction implements Serializable


Package marf.FeatureExtraction.LPC

Class marf.FeatureExtraction.LPC.LPC extends FeatureExtraction implements Serializable

Serialized Fields

iPoles

int iPoles
Number of poles.

A pole is a root of the denominator in the Laplace transform of the input-to-output representation of the speech signal.


iWindowLen

int iWindowLen
Window length.


Package marf.FeatureExtraction.MinMaxAmplitudes

Class marf.FeatureExtraction.MinMaxAmplitudes.MinMaxAmplitudes extends FeatureExtraction implements Serializable


Package marf.FeatureExtraction.RandomFeatureExtraction

Class marf.FeatureExtraction.RandomFeatureExtraction.RandomFeatureExtraction extends FeatureExtraction implements Serializable


Package marf.FeatureExtraction.Segmentation

Class marf.FeatureExtraction.Segmentation.Segmentation extends FeatureExtraction implements Serializable


Package marf.gui

Class marf.gui.Spectrogram extends StorageManager implements Serializable

Serialized Fields

data

java.util.Vector data
The data vector.


min

double min
Current minimum.


max

double max
Current maximum.


strMethod

java.lang.String strMethod
To differentiate file names based on the feature extraction method name.

Class marf.gui.SpectrogramPanel extends BorderPanel implements Serializable

Serialized Fields

oSpectrogram

Spectrogram oSpectrogram

oStatusPanel

ColoredStatusPanel oStatusPanel

Class marf.gui.WaveGrapher extends StorageManager implements Serializable

Serialized Fields

adDataArray

double[] adDataArray
Data to graph.


dXmin

double dXmin
Range of data for the X axis -- Minimum.


dXmax

double dXmax
Range of data for the X axis -- Maximum.

Class marf.gui.WaveGrapherPanel extends BorderPanel implements Serializable

Serialized Fields

oWaveGrapher

WaveGrapher oWaveGrapher

oStatusPanel

ColoredStatusPanel oStatusPanel

Package marf.gui.util

Class marf.gui.util.BorderPanel extends javax.swing.JPanel implements Serializable

Class marf.gui.util.ColoredStatusPanel extends SmartSizablePanel implements Serializable

Serialized Fields

iLowerBound

int iLowerBound
Lower bound.


iUpperBound

int iUpperBound
Upper bound.


iCurrentStatus

int iCurrentStatus
Should be between lower and upper bounds.

Class marf.gui.util.SmartSizablePanel extends java.awt.Panel implements Serializable

Serialized Fields

iX

int iX

iY

int iY

iWidth

int iWidth

iHeight

int iHeight

Package marf.math

Class marf.math.MathException extends MARFException implements Serializable

Class marf.math.Matrix extends java.lang.Object implements Serializable

Serialized Fields

iRows

int iRows
Actual number of rows in the matrix.


iCols

int iCols
Actual number of columns in the matrix.


adMatrix

double[] adMatrix
Matrix itself.

Class marf.math.Vector extends Matrix implements Serializable


Package marf.nlp.Parsing

Class marf.nlp.Parsing.CompilerError extends MARFException implements Serializable

Serialized Fields

CurrentErrorCode

int CurrentErrorCode
Error code of the last error occured.

Since:
October 2, 2001

CurrentErrorString

java.lang.String CurrentErrorString
A descriptive message correspoding to a given error code.

Since:
October 2, 2001

LineNo

int LineNo
Line number where the given error occurred.

Since:
October 2, 2001

Class marf.nlp.Parsing.LexicalError extends CompilerError implements Serializable

Serialized Fields

ErrorMessages

java.lang.String[] ErrorMessages
Lexical errors.

Since:
October 2, 2001

FaultingToken

Token FaultingToken
Token information at which Lexer encountered the error.

Since:
October 2, 2001

Class marf.nlp.Parsing.ProbabilisticParser extends StorageManager implements Serializable

Serialized Fields

oParseMatrix

double[][][] oParseMatrix

oBack

java.util.Vector[][][] oBack

oWords

java.util.Vector oWords

oGrammar

Grammar oGrammar

Class marf.nlp.Parsing.SemanticError extends CompilerError implements Serializable

Serialized Fields

ErrorMessages

java.lang.String[] ErrorMessages
Custom error messages.

Since:
December 19, 2001

FaultingToken

Token FaultingToken
Token information at which Lexer encountered the error.

Since:
October 2, 2001

Class marf.nlp.Parsing.SyntaxError extends CompilerError implements Serializable

Serialized Fields

ErrorMessages

java.lang.String[] ErrorMessages
Lexical errors.

Since:
October 2, 2001

FaultingToken

Token FaultingToken
Token information at which Parser encountered the error.

Since:
October 2, 2001

RecoveryActionCode

int RecoveryActionCode
Recoevery action code specifies which action to take to recover from this error.

Class marf.nlp.Parsing.Token extends java.lang.Object implements Serializable

Serialized Fields

Lexeme

java.lang.String Lexeme
Parts of a Token.


Position

java.awt.Point Position

oTokenType

TokenSubType oTokenType

Class marf.nlp.Parsing.TokenSubType extends TokenType implements Serializable

Serialized Fields

subtype

int subtype

Class marf.nlp.Parsing.TokenType extends java.lang.Object implements Serializable

Serialized Fields

type

int type
Current token type.

Class marf.nlp.Parsing.TransitionTable extends java.lang.Object implements Serializable

Serialized Fields

TT

java.util.Vector TT
Transition Table (TT) is a Vector of Vectors of Objects, such as Rules and SyntaxErrors.


NonTerminals

java.util.Vector NonTerminals
Vector of NonTerminals as "row-pointers" to TT.


Terminals

java.util.Vector Terminals
Vector of Terminals as "column-pointers" to TT.


EOFTerminalID

int EOFTerminalID

StartNonTerminalID

int StartNonTerminalID

Package marf.nlp.Parsing.GrammarCompiler

Class marf.nlp.Parsing.GrammarCompiler.Grammar extends java.lang.Object implements Serializable

Serialized Fields

TerminalList

java.util.Vector TerminalList
List of terminals.


NonTerminalList

java.util.Vector NonTerminalList
List of non-terminals.


Rules

java.util.Vector Rules
A vector of rules.


EOFTerminal

Terminal EOFTerminal
A static EOF reference.


EpsilonTerminal

Terminal EpsilonTerminal
The epsilon token.


StartNonTerminal

NonTerminal StartNonTerminal
A reference to the starting state.


FirstSetsFile

java.lang.String FirstSetsFile

FollowSetsFile

java.lang.String FollowSetsFile

RulesFile

java.lang.String RulesFile

Class marf.nlp.Parsing.GrammarCompiler.GrammarCompiler extends StorageManager implements Serializable

Serialized Fields

oGrammar

Grammar oGrammar
Instance of the grammar as a set of production Rules, First and Follow sets.


GrammarFileName

java.lang.String GrammarFileName
Source grammar filename.


oGrammarAnalyzer

GrammarAnalyzer oGrammarAnalyzer
Lexical Analyzer for the grammar.


oGrammarElement

GrammarElement oGrammarElement

oToken

Token oToken

oRule

Rule oRule

Class marf.nlp.Parsing.GrammarCompiler.GrammarElement extends java.lang.Object implements Serializable

Serialized Fields

Name

java.lang.String Name
A name of a token to refer to.


ID

int ID
ID to act as an index to table.


oToken

Token oToken
A bit extra info in the encasulted token.


FirstSet

java.util.Vector FirstSet
FirstSet of us.

Class marf.nlp.Parsing.GrammarCompiler.GrammarTokenType extends TokenSubType implements Serializable

Class marf.nlp.Parsing.GrammarCompiler.NonTerminal extends GrammarElement implements Serializable

Serialized Fields

Defined

boolean Defined
Flag Defined or not.


FollowSet

java.util.Vector FollowSet
Follow Set.

Class marf.nlp.Parsing.GrammarCompiler.ProbabilisticGrammarCompiler extends GrammarCompiler implements Serializable

Class marf.nlp.Parsing.GrammarCompiler.ProbabilisticGrammarTokenType extends GrammarTokenType implements Serializable

Class marf.nlp.Parsing.GrammarCompiler.ProbabilisticRule extends Rule implements Serializable

Serialized Fields

dProbability

double dProbability
Probability of the rule.

Class marf.nlp.Parsing.GrammarCompiler.Rule extends java.lang.Object implements Serializable

Serialized Fields

ID

int ID
ID for reference and debugging.


LHS

NonTerminal LHS
LHS.


RHS

java.util.Vector RHS
A vector of grammar elements on the right-hand-side of a production.

Class marf.nlp.Parsing.GrammarCompiler.SemanticToken extends GrammarElement implements Serializable

Class marf.nlp.Parsing.GrammarCompiler.Terminal extends GrammarElement implements Serializable

Serialized Fields

Type

GrammarTokenType Type

Package marf.Preprocessing

Class marf.Preprocessing.Preprocessing extends StorageManager implements Serializable

Serialized Fields

oSample

Sample oSample
Sample reference.

Class marf.Preprocessing.PreprocessingException extends MARFException implements Serializable


Package marf.Preprocessing.Dummy

Class marf.Preprocessing.Dummy.Dummy extends Preprocessing implements Serializable

Class marf.Preprocessing.Dummy.Raw extends Dummy implements Serializable


Package marf.Preprocessing.Endpoint

Class marf.Preprocessing.Endpoint.Endpoint extends Preprocessing implements Serializable


Package marf.Preprocessing.FFTFilter

Class marf.Preprocessing.FFTFilter.BandpassFilter extends FFTFilter implements Serializable

Class marf.Preprocessing.FFTFilter.FFTFilter extends Preprocessing implements Serializable

Class marf.Preprocessing.FFTFilter.HighFrequencyBoost extends FFTFilter implements Serializable

Class marf.Preprocessing.FFTFilter.HighPassFilter extends FFTFilter implements Serializable

Class marf.Preprocessing.FFTFilter.LowPassFilter extends FFTFilter implements Serializable


Package marf.Stats

Class marf.Stats.Ngram extends Observation implements Serializable

Serialized Fields

iSize

int iSize
0 - unset, 1 - unigram, 2 - bigram, 3 - trigram, etc.


iCapacity

int iCapacity
N-gram's current capacity. Default is 0.


aNgramElements

Ngram[] aNgramElements
N-gram's parts.

Class marf.Stats.Observation extends WordStats implements Serializable

Serialized Fields

dPriorProbability

double dPriorProbability

dPosteriorProbability

double dPosteriorProbability

bSeen

boolean bSeen

Class marf.Stats.ProbabilityTable extends java.lang.Object implements Serializable

Serialized Fields

oColumnIndex

java.util.Vector oColumnIndex
Observations by columns. Observation's index in the vector is the on in the table Second words/chars.


oNMatrix

java.util.Vector oNMatrix
Vector of vectors of probabilities, which are Double objects. To save space null means 0.0.


strLang

java.lang.String strLang
Current natural language. Default is "en".

Class marf.Stats.StatisticalObject extends java.lang.Object implements Serializable

Serialized Fields

iFrequency

int iFrequency
Word's frequency in a given corpus. Default 0.


iRank

int iRank
Word's rank in the corpus. The rank of 1 indicates the top frequent word. Default is -1, i.e. unset.

Class marf.Stats.WordStats extends StatisticalObject implements Serializable

Serialized Fields

strLexeme

java.lang.String strLexeme
Spelling of the word.


Package marf.Stats.StatisticalEstimators

Class marf.Stats.StatisticalEstimators.GLI extends StatisticalEstimator implements Serializable

Class marf.Stats.StatisticalEstimators.KatzBackoff extends StatisticalEstimator implements Serializable

Class marf.Stats.StatisticalEstimators.MLE extends AddDelta implements Serializable

Class marf.Stats.StatisticalEstimators.SLI extends StatisticalEstimator implements Serializable

Class marf.Stats.StatisticalEstimators.StatisticalEstimator extends StorageManager implements Serializable

Serialized Fields

oProbabilityTable

ProbabilityTable oProbabilityTable

oStreamTokenizer

NLPStreamTokenizer oStreamTokenizer

Package marf.Stats.StatisticalEstimators.Smoothing

Class marf.Stats.StatisticalEstimators.Smoothing.AddDelta extends Smoothing implements Serializable

Serialized Fields

dDelta

double dDelta
Default 0.5: Expected Likelihood Estimation (ELE).

Class marf.Stats.StatisticalEstimators.Smoothing.AddOne extends AddDelta implements Serializable

Class marf.Stats.StatisticalEstimators.Smoothing.GoodTuring extends Smoothing implements Serializable

Serialized Fields

iThreshold

int iThreshold

Class marf.Stats.StatisticalEstimators.Smoothing.Smoothing extends StatisticalEstimator implements Serializable

Class marf.Stats.StatisticalEstimators.Smoothing.WittenBell extends Smoothing implements Serializable


Package marf.Storage

Class marf.Storage.Cluster extends TrainingSample implements Serializable

Serialized Fields

iMeanCount

int iMeanCount
How many times mean was computed. Used in recomputation of it.

Class marf.Storage.Database extends StorageManager implements Serializable

Serialized Fields

bConnected

boolean bConnected
Indicates whether we are connected or not.

Class marf.Storage.FeatureSet extends java.lang.Object implements Serializable

Serialized Fields

oFeatureVectors

java.util.Vector oFeatureVectors
A Vector of TrainingSamples.

Class marf.Storage.Result extends java.lang.Object implements Serializable

Serialized Fields

iID

int iID
Identified subject's ID.


strDescription

java.lang.String strDescription
Textual result description.

Since:
0.3.0

dOutcome

double dOutcome
Distance/probability.

Since:
0.3.0

Class marf.Storage.ResultSet extends java.lang.Object implements Serializable

Serialized Fields

oResultSet

java.util.Vector oResultSet
Distances from other samples and other stats or probabilities and likelyhood (growable and shrinkable).


oResultSetSorted

Result[] oResultSetSorted
References to the objects in the oResultSet in the sorted order.


iSortMode

int iSortMode
Used to remember in which direction sorting was performed, so some methods can work correctly. Default is -1, i.e. unset. Otherwise, it is SortComparator.ASCENDING or SortComparator.DESCENDING. It is set by the sort() method only.

Since:
0.3.0.3
See Also:
ResultSet.getSecondClosestID(), ResultSet.sort(int), SortComparator.ASCENDING, SortComparator.DESCENDING

Class marf.Storage.Sample extends java.lang.Object implements Serializable

Serialized Fields

oAudioFileFormat

MARFAudioFileFormat oAudioFileFormat
Groupping of file format data.

Since:
0.3.0.2

adSample

double[] adSample
Sample data array (amplitudes).

Class marf.Storage.StorageException extends MARFException implements Serializable

Class marf.Storage.StorageManager extends java.lang.Object implements Serializable

Serialized Fields

oObjectToSerialize

java.lang.Object oObjectToSerialize
Actual object to be serialized (primarily for GZIP and BINARY modes. Has to be back-synchronized.

Since:
0.3.0
See Also:
StorageManager.backSynchronizeObject()

Class marf.Storage.TrainingSample extends java.lang.Object implements Serializable

Serialized Fields

iSubjectID

int iSubjectID
Which subject this feature vector is associated with.


adDataVector

double[] adDataVector
Array represinting either a feature or mean vector describing the cluster.


oFilenames

java.util.Vector oFilenames
A list of filenames that were used in training for this cluster. Used to avoid duplicate training on the same filename.

Class marf.Storage.TrainingSet extends StorageManager implements Serializable

Serialized Fields

oClusters

java.util.Vector oClusters
A Vector of Clusters.


oFeatureSet

FeatureSet oFeatureSet
Feature Set as opposed to the cluster.


iPreprocessingMethod

int iPreprocessingMethod
Which preprocessing method was applied to the sample before this feature vector was extracted.


iFeatureExtractionMethod

int iFeatureExtractionMethod
Which feature extraction method was used to determine this feature vector.


Package marf.util

Class marf.util.FreeVector extends java.util.Vector implements Serializable

Class marf.util.InvalidSampleFormatException extends MARFException implements Serializable

Class marf.util.MARFException extends java.lang.Exception implements Serializable

Serialized Fields

strMessage

java.lang.String strMessage
Our own error message container.

Class marf.util.Matrix extends FreeVector implements Serializable

Serialized Fields

aiDimensions

int[] aiDimensions
Matrix dimensions.

Class marf.util.NotImplementedException extends java.lang.RuntimeException implements Serializable

Class marf.util.OptionProcessor.OptionsHashtable extends java.util.Hashtable implements Serializable

Class marf.util.SortComparator extends java.lang.Object implements Serializable

Serialized Fields

iSortMode

int iSortMode
Current sorting mode: either ASCENDING or DESCENDING.


Package marf.util.comparators

Class marf.util.comparators.FrequencyComparator extends SortComparator implements Serializable

Class marf.util.comparators.RankComparator extends SortComparator implements Serializable

Class marf.util.comparators.ResultComparator extends SortComparator implements Serializable