Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • toString

        public java.lang.String toString()
        Returns the name of this validator.
        Overrides:
        toString in class java.lang.Object
        Returns:
        the name of this validator