Package 

Class SpeakerModel

  • All Implemented Interfaces:
    com.sun.jna.NativeMapped , java.lang.AutoCloseable

    
    public class SpeakerModel
    extends PointerType implements AutoCloseable
                        

    Helps to initialize speaker recognition for grammar-based recognizer.

    • Constructor Summary

      Constructors 
      Constructor Description
      SpeakerModel()
      SpeakerModel(String path) Loads speaker model data from the file.The path must contain:- a config file: mfcc.conf- kaldi nnet: final.ext.raw- mean.vec- transform.
    • Method Summary

      Modifier and Type Method Description
      void close()
      • Methods inherited from class com.sun.jna.PointerType

        equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
      • Methods inherited from class java.lang.AutoCloseable

        close
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpeakerModel

        SpeakerModel()
      • SpeakerModel

        SpeakerModel(String path)
        Loads speaker model data from the file.The path must contain:- a config file: mfcc.conf- kaldi nnet: final.ext.raw- mean.vec- transform.
        Parameters:
        path - the path of the model on the filesystem