C# 클래스 Systran.MultimodalClientLib.Api.SpeechApi

Represents a collection of functions to interact with the API endpoints
상속: ISpeechApi
파일 보기 프로젝트 열기: SYSTRAN/multimodal-api-csharp-client 1 사용 예제들

공개 메소드들

메소드 설명
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