Public Member Functions | Private Member Functions | Private Attributes

JFATranslate Class Reference

#include <AccumulateJFAStat.h>

List of all members.

Public Member Functions

 JFATranslate ()
 JFATranslate (XList &fileList)
 ~JFATranslate ()
unsigned long locNb (const String &file)
unsigned long firstSession (unsigned long spk)
unsigned long numSession (unsigned long spk, unsigned long session)
unsigned long locNb (unsigned long idx)
unsigned long sessionNb (const String &file)

Private Member Functions

long _idxOfID (const String &file)
 idx in XLine

Private Attributes

XLine _id
ULongVector _locidx
ULongVector _sessionidx

Detailed Description

This class represents an index of speakers and sessions A Transate contains the indexes of speakers and sessions

Author:
Anthony Larcher alarcher@i2r.a-star.edu.sg
Version:
1.0
Date:
2010

Definition at line 78 of file AccumulateJFAStat.h.


Constructor & Destructor Documentation

JFATranslate::JFATranslate (  ) [inline]

Definition at line 87 of file AccumulateJFAStat.h.

JFATranslate::JFATranslate ( XList &  fileList ) [inline]

Fill structure with id and idxs

Definition at line 91 of file AccumulateJFAStat.h.

JFATranslate::~JFATranslate (  ) [inline]

Definition at line 105 of file AccumulateJFAStat.h.


Member Function Documentation

long JFATranslate::_idxOfID ( const String &  file ) [inline, private]

idx in XLine

Definition at line 78 of file AccumulateJFAStat.h.

unsigned long JFATranslate::firstSession ( unsigned long  spk ) [inline]

Return the idx of the first session of a speaker

Parameters:
spkidx of the targeted speaker
Returns:
the idx of the first session of a speaker spk

Definition at line 121 of file AccumulateJFAStat.h.

unsigned long JFATranslate::locNb ( unsigned long  idx ) [inline]

Return the idx of speakers

Parameters:
indexof the feature file
Returns:
the idx of the given speaker

Definition at line 143 of file AccumulateJFAStat.h.

unsigned long JFATranslate::locNb ( const String &  file ) [inline]

Return the idx of speakers

Parameters:
filename of the feature file
Returns:
the idx of the given speaker

Definition at line 111 of file AccumulateJFAStat.h.

Referenced by JFAAcc::computeAndAccumulateJFAStat(), JFAAcc::computeAndAccumulateJFAStatUnThreaded(), JFAAcc::getMplusDZ(), JFAAcc::getMplusVYplusDZ(), JFAAcc::getVUYX(), JFAAcc::getVY(), and JFAAcc::getVYplusDZ().

unsigned long JFATranslate::numSession ( unsigned long  spk,
unsigned long  session 
) [inline]

Return the idx of a given session of a speaker

Parameters:
spkidx of the speaker
sessionnumber of the session for the given speaker
Returns:
the idx of the session session of the speaker spk

Definition at line 132 of file AccumulateJFAStat.h.

unsigned long JFATranslate::sessionNb ( const String &  file ) [inline]

Return the idx of a sessions

Parameters:
filefeature file
Returns:
the idx of the session corresponding to the file

Definition at line 151 of file AccumulateJFAStat.h.

Referenced by JFAAcc::computeAndAccumulateJFAStat(), JFAAcc::computeAndAccumulateJFAStatUnThreaded(), and JFAAcc::getUX().


Member Data Documentation

XLine JFATranslate::_id [private]

Definition at line 71 of file AccumulateJFAStat.h.

ULongVector JFATranslate::_locidx [private]

Definition at line 72 of file AccumulateJFAStat.h.

ULongVector JFATranslate::_sessionidx [private]

Definition at line 73 of file AccumulateJFAStat.h.


The documentation for this class was generated from the following file: