DeepSpeech/native_client/dotnet/DeepSpeechClient/Structs/Metadata.cs
2019-04-24 20:12:39 +02:00

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;
}
}