C# Class Systran.MultimodalClientLib.Api.SpeechApi

Represents a collection of functions to interact with the API endpoints
Inheritance: ISpeechApi
Afficher le fichier Open project: SYSTRAN/multimodal-api-csharp-client Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

GetBasePath() public méthode

Gets the base path of the API client.
public GetBasePath ( String basePath ) : String
basePath String
Résultat String

MultimodalSpeechAlignGet() public méthode

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
Résultat Systran.MultimodalClientLib.Model.SpeechAlignResponse

MultimodalSpeechAlignGetAsync() public méthode

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
Résultat Task

MultimodalSpeechDetectLanguageGet() public méthode

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
Résultat Systran.MultimodalClientLib.Model.SpeechDetectLanguageResponse

MultimodalSpeechDetectLanguageGetAsync() public méthode

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
Résultat Task

MultimodalSpeechSegmentGet() public méthode

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
Résultat Systran.MultimodalClientLib.Model.SpeechSegmentResponse

MultimodalSpeechSegmentGetAsync() public méthode

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
Résultat Task

MultimodalSpeechSupportedLanguagesGet() public méthode

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
Résultat Systran.MultimodalClientLib.Model.SpeechSupportedLanguagesResponse

MultimodalSpeechSupportedLanguagesGetAsync() public méthode

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
Résultat Task

MultimodalSpeechTranscribeGet() public méthode

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
Résultat Systran.MultimodalClientLib.Model.SpeechTranscribeResponse

MultimodalSpeechTranscribeGetAsync() public méthode

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
Résultat Task

SetBasePath() public méthode

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String
Résultat void

SpeechApi() public méthode

Initializes a new instance of the SpeechApi class.
public SpeechApi ( ApiClient apiClient = null ) : System
apiClient Systran.MultimodalClientLib.Client.ApiClient
Résultat System

SpeechApi() public méthode

Initializes a new instance of the SpeechApi class.
public SpeechApi ( String basePath ) : System
basePath String
Résultat System