de.dfki.lt.freetts.en.us
Class MbrolaVoiceValidator

java.lang.Object
  extended byde.dfki.lt.freetts.en.us.MbrolaVoiceValidator
All Implemented Interfaces:
Validator

public class MbrolaVoiceValidator
extends java.lang.Object
implements Validator

Shows this MbrolaVoice is valid (or usable). It tests for the following:

  1. Check that the "mbrola.base" System property is defined, and that directory exists.
  2. Check that the $(mbrola.base)/mbrola binary exists.
  3. Check that the transition table exists. It is assumed to be at $(mbrola.base)/us1/us1mrpa.
  4. Check that its voice database exists.


Constructor Summary
MbrolaVoiceValidator(MbrolaVoice mbrolaVoice)
           
 
Method Summary
 java.lang.String toString()
          Returns the name of this validator.
 void validate()
          Validates this MbrolaVoice.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MbrolaVoiceValidator

public MbrolaVoiceValidator(MbrolaVoice mbrolaVoice)
Method Detail

validate

public void validate()
              throws ValidationException
Validates this MbrolaVoice.

Specified by:
validate in interface Validator
Throws:
ValidationException - if this MbrolaVoice is invalid

toString

public java.lang.String toString()
Returns the name of this validator.

Returns:
the name of this Validator