C# Класс Systran.MultimodalClientLib.Api.SpeechApi

Represents a collection of functions to interact with the API endpoints
Наследование: ISpeechApi
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetBasePath ( String basePath ) : String

Gets the base path of the API client.

MultimodalSpeechAlignGet ( string AudioFile, string TextFile, string Lang, string Model, string Sampling, string Callback ) : SpeechAlignResponse

Align speech Align text and audio files.\n

MultimodalSpeechAlignGetAsync ( string AudioFile, string TextFile, string Lang, string Model, string Sampling, string Callback ) : Task

Align speech Align text and audio files.\n

MultimodalSpeechDetectLanguageGet ( string AudioFile, string Sampling, int MaxSpeaker, string Callback ) : SpeechDetectLanguageResponse

Speech language detection Detect languages from an audio file.\n

MultimodalSpeechDetectLanguageGetAsync ( string AudioFile, string Sampling, int MaxSpeaker, string Callback ) : Task

Speech language detection Detect languages from an audio file.\n

MultimodalSpeechSegmentGet ( string AudioFile, string Sampling, int MaxSpeaker, string Callback ) : SpeechSegmentResponse

Segment speech Segment an audio file.\n

MultimodalSpeechSegmentGetAsync ( string AudioFile, string Sampling, int MaxSpeaker, string Callback ) : Task

Segment speech Segment an audio file.\n

MultimodalSpeechSupportedLanguagesGet ( string Callback ) : SpeechSupportedLanguagesResponse

Supported Languages List of languages in which Speech is supported.\n

MultimodalSpeechSupportedLanguagesGetAsync ( string Callback ) : Task

Supported Languages List of languages in which Speech is supported.\n

MultimodalSpeechTranscribeGet ( string AudioFile, string Lang, string Model, string Sampling, int MaxSpeaker, string Callback ) : SpeechTranscribeResponse

Transcribe speech Get text from an audio file.\n

MultimodalSpeechTranscribeGetAsync ( string AudioFile, string Lang, string Model, string Sampling, int MaxSpeaker, string Callback ) : Task

Transcribe speech Get text from an audio file.\n

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

SpeechApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the SpeechApi class.

SpeechApi ( String basePath ) : System

Initializes a new instance of the SpeechApi class.

Описание методов

GetBasePath() публичный Метод

Gets the base path of the API client.
public GetBasePath ( String basePath ) : String
basePath String
Результат String

MultimodalSpeechAlignGet() публичный Метод

Align speech Align text and audio files.\n
public MultimodalSpeechAlignGet ( string AudioFile, string TextFile, string Lang, string Model, string Sampling, string Callback ) : SpeechAlignResponse
AudioFile string Audio file ([details](#description_audio_files)).\n
TextFile string Plain text file, ASCII, ISO-8859 or UTF8 encoded.\n\nThe text should include one sentence or clause per line ending with a punctuation mark.\n
Lang string Language code of the input ([details](#description_langage_code_values))
Model string Model name\n
Sampling string Sampling quality of the audio file.\n * high: wide band audio such as radio and TV broadcast (sampling higher or equal to 16KHz)\n * low: telephone data with sampling rates higher or equal to 8KHz. It is highly recommended to not use a bit rate lower than 32Kbps.\n
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.MultimodalClientLib.Model.SpeechAlignResponse

MultimodalSpeechAlignGetAsync() публичный Метод

Align speech Align text and audio files.\n
public MultimodalSpeechAlignGetAsync ( string AudioFile, string TextFile, string Lang, string Model, string Sampling, string Callback ) : Task
AudioFile string Audio file ([details](#description_audio_files)).\n
TextFile string Plain text file, ASCII, ISO-8859 or UTF8 encoded.\n\nThe text should include one sentence or clause per line ending with a punctuation mark.\n
Lang string Language code of the input ([details](#description_langage_code_values))
Model string Model name\n
Sampling string Sampling quality of the audio file.\n * high: wide band audio such as radio and TV broadcast (sampling higher or equal to 16KHz)\n * low: telephone data with sampling rates higher or equal to 8KHz. It is highly recommended to not use a bit rate lower than 32Kbps.\n
Callback string Javascript callback function name for JSONP Support\n
Результат Task

MultimodalSpeechDetectLanguageGet() публичный Метод

Speech language detection Detect languages from an audio file.\n
public MultimodalSpeechDetectLanguageGet ( string AudioFile, string Sampling, int MaxSpeaker, string Callback ) : SpeechDetectLanguageResponse
AudioFile string Audio file ([details](#description_audio_files)).\n
Sampling string Sampling quality of the audio file.\n * high: wide band audio such as radio and TV broadcast (sampling higher or equal to 16KHz)\n * low: telephone data with sampling rates higher or equal to 8KHz. It is highly recommended to not use a bit rate lower than 32Kbps.\n
MaxSpeaker int Maximum number of speakers. Default 1 for low sampling and infinity for high sampling
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.MultimodalClientLib.Model.SpeechDetectLanguageResponse

MultimodalSpeechDetectLanguageGetAsync() публичный Метод

Speech language detection Detect languages from an audio file.\n
public MultimodalSpeechDetectLanguageGetAsync ( string AudioFile, string Sampling, int MaxSpeaker, string Callback ) : Task
AudioFile string Audio file ([details](#description_audio_files)).\n
Sampling string Sampling quality of the audio file.\n * high: wide band audio such as radio and TV broadcast (sampling higher or equal to 16KHz)\n * low: telephone data with sampling rates higher or equal to 8KHz. It is highly recommended to not use a bit rate lower than 32Kbps.\n
MaxSpeaker int Maximum number of speakers. Default 1 for low sampling and infinity for high sampling
Callback string Javascript callback function name for JSONP Support\n
Результат Task

MultimodalSpeechSegmentGet() публичный Метод

Segment speech Segment an audio file.\n
public MultimodalSpeechSegmentGet ( string AudioFile, string Sampling, int MaxSpeaker, string Callback ) : SpeechSegmentResponse
AudioFile string Audio file ([details](#description_audio_files)).\n
Sampling string Sampling quality of the audio file.\n * high: wide band audio such as radio and TV broadcast (sampling higher or equal to 16KHz)\n * low: telephone data with sampling rates higher or equal to 8KHz. It is highly recommended to not use a bit rate lower than 32Kbps.\n
MaxSpeaker int Maximum number of speakers. Default 1 for low sampling and infinity for high sampling
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.MultimodalClientLib.Model.SpeechSegmentResponse

MultimodalSpeechSegmentGetAsync() публичный Метод

Segment speech Segment an audio file.\n
public MultimodalSpeechSegmentGetAsync ( string AudioFile, string Sampling, int MaxSpeaker, string Callback ) : Task
AudioFile string Audio file ([details](#description_audio_files)).\n
Sampling string Sampling quality of the audio file.\n * high: wide band audio such as radio and TV broadcast (sampling higher or equal to 16KHz)\n * low: telephone data with sampling rates higher or equal to 8KHz. It is highly recommended to not use a bit rate lower than 32Kbps.\n
MaxSpeaker int Maximum number of speakers. Default 1 for low sampling and infinity for high sampling
Callback string Javascript callback function name for JSONP Support\n
Результат Task

MultimodalSpeechSupportedLanguagesGet() публичный Метод

Supported Languages List of languages in which Speech is supported.\n
public MultimodalSpeechSupportedLanguagesGet ( string Callback ) : SpeechSupportedLanguagesResponse
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.MultimodalClientLib.Model.SpeechSupportedLanguagesResponse

MultimodalSpeechSupportedLanguagesGetAsync() публичный Метод

Supported Languages List of languages in which Speech is supported.\n
public MultimodalSpeechSupportedLanguagesGetAsync ( string Callback ) : Task
Callback string Javascript callback function name for JSONP Support\n
Результат Task

MultimodalSpeechTranscribeGet() публичный Метод

Transcribe speech Get text from an audio file.\n
public MultimodalSpeechTranscribeGet ( string AudioFile, string Lang, string Model, string Sampling, int MaxSpeaker, string Callback ) : SpeechTranscribeResponse
AudioFile string Audio file ([details](#description_audio_files)).\n
Lang string Language code of the input ([details](#description_langage_code_values))
Model string Model name\n
Sampling string Sampling quality of the audio file.\n * high: wide band audio such as radio and TV broadcast (sampling higher or equal to 16KHz)\n * low: telephone data with sampling rates higher or equal to 8KHz. It is highly recommended to not use a bit rate lower than 32Kbps.\n
MaxSpeaker int Maximum number of speakers. Default 1 for low sampling and infinity for high sampling
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.MultimodalClientLib.Model.SpeechTranscribeResponse

MultimodalSpeechTranscribeGetAsync() публичный Метод

Transcribe speech Get text from an audio file.\n
public MultimodalSpeechTranscribeGetAsync ( string AudioFile, string Lang, string Model, string Sampling, int MaxSpeaker, string Callback ) : Task
AudioFile string Audio file ([details](#description_audio_files)).\n
Lang string Language code of the input ([details](#description_langage_code_values))
Model string Model name\n
Sampling string Sampling quality of the audio file.\n * high: wide band audio such as radio and TV broadcast (sampling higher or equal to 16KHz)\n * low: telephone data with sampling rates higher or equal to 8KHz. It is highly recommended to not use a bit rate lower than 32Kbps.\n
MaxSpeaker int Maximum number of speakers. Default 1 for low sampling and infinity for high sampling
Callback string Javascript callback function name for JSONP Support\n
Результат Task

SetBasePath() публичный Метод

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String
Результат void

SpeechApi() публичный Метод

Initializes a new instance of the SpeechApi class.
public SpeechApi ( ApiClient apiClient = null ) : System
apiClient Systran.MultimodalClientLib.Client.ApiClient
Результат System

SpeechApi() публичный Метод

Initializes a new instance of the SpeechApi class.
public SpeechApi ( String basePath ) : System
basePath String
Результат System