Complex structure that holds the results of the transcription. Supports multiple transcriptions.
Ejemplo n.º 1
0
        public static NBest FromIter(SWIGTYPE_p_void itor)
        {
            global::System.IntPtr cPtr = pocketsphinxPINVOKE.NBest_FromIter(SWIGTYPE_p_void.getCPtr(itor));
            NBest ret = (cPtr == global::System.IntPtr.Zero) ? null : new NBest(cPtr, false);

            return(ret);
        }
Ejemplo n.º 2
0
        public NBest GetCurrent()
        {
            global::System.IntPtr cPtr = pocketsphinxPINVOKE.NBestIterator_GetCurrent(swigCPtr);
            NBest ret = (cPtr == global::System.IntPtr.Zero) ? null : new NBest(cPtr, false);

            return(ret);
        }
Ejemplo n.º 3
0
            public NBest[] scores;      /** The top-N recognition results. */

            public RecognitionData()
            {
                scores = new NBest[NBEST_SIZE];
                for (int i = 0; i < NBEST_SIZE; i++)
                {
                    scores[i] = new NBest();
                }
            }
Ejemplo n.º 4
0
        public NBest[] scores;          /** The top-N recognition results. */

        public RecognitionData()
        {
            scores = new NBest[NBEST_SIZE];
            for (int i = 0; i < NBEST_SIZE; i++)
            {
                scores[i] = new NBest();
            }
        }
Ejemplo n.º 5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(NBest obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }