mirror of
https://github.com/mozilla/DeepSpeech.git
synced 2025-10-26 11:19:39 +00:00
23 lines
601 B
C#
23 lines
601 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace DeepSpeechClient.Structs
|
|
{
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
internal unsafe struct Metadata
|
|
{
|
|
/// <summary>
|
|
/// Native list of items.
|
|
/// </summary>
|
|
internal unsafe IntPtr items;
|
|
/// <summary>
|
|
/// Count of items from the native side.
|
|
/// </summary>
|
|
internal unsafe int num_items;
|
|
/// <summary>
|
|
/// Approximated probability (confidence value) for this transcription.
|
|
/// </summary>
|
|
internal unsafe double probability;
|
|
}
|
|
}
|