C# Class Systran.NlpClientLib.Api.TranscriptionApi

Represents a collection of functions to interact with the API endpoints
Inheritance: ITranscriptionApi
显示文件 Open project: SYSTRAN/nlp-api-csharp-client Class Usage Examples

Public Methods

Method Description
GetBasePath ( String basePath ) : String

Gets the base path of the API client.

NlpTranscriptionSupportedLanguagesGet ( string Source, string Target, string Callback ) : TranscriptionSupportedLanguagesResponse

Supported Languages List of languages pairs in which Transcription is supported. This list can be limited to a specific source language or target language.

NlpTranscriptionSupportedLanguagesGetAsync ( string Source, string Target, string Callback ) : Task

Supported Languages List of languages pairs in which Transcription is supported. This list can be limited to a specific source language or target language.

NlpTranscriptionTranscribeGet ( string InputFile, string Input, string Source, string Target, int Profile, string Callback ) : string

Transcribe Transcribe text from a source language to a target language.\n

NlpTranscriptionTranscribeGetAsync ( string InputFile, string Input, string Source, string Target, int Profile, string Callback ) : Task

Transcribe Transcribe text from a source language to a target language.\n

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

TranscriptionApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the TranscriptionApi class.

TranscriptionApi ( String basePath ) : System

Initializes a new instance of the TranscriptionApi class.

Method Details

GetBasePath() public method

Gets the base path of the API client.
public GetBasePath ( String basePath ) : String
basePath String
return String

NlpTranscriptionSupportedLanguagesGet() public method

Supported Languages List of languages pairs in which Transcription is supported. This list can be limited to a specific source language or target language.
public NlpTranscriptionSupportedLanguagesGet ( string Source, string Target, string Callback ) : TranscriptionSupportedLanguagesResponse
Source string Source Language code ([details](#description_langage_code_values))
Target string Target Language code ([details](#description_langage_code_values))
Callback string Javascript callback function name for JSONP Support\n
return Systran.NlpClientLib.Model.TranscriptionSupportedLanguagesResponse

NlpTranscriptionSupportedLanguagesGetAsync() public method

Supported Languages List of languages pairs in which Transcription is supported. This list can be limited to a specific source language or target language.
public NlpTranscriptionSupportedLanguagesGetAsync ( string Source, string Target, string Callback ) : Task
Source string Source Language code ([details](#description_langage_code_values))
Target string Target Language code ([details](#description_langage_code_values))
Callback string Javascript callback function name for JSONP Support\n
return Task

NlpTranscriptionTranscribeGet() public method

Transcribe Transcribe text from a source language to a target language.\n
public NlpTranscriptionTranscribeGet ( string InputFile, string Input, string Source, string Target, int Profile, string Callback ) : string
InputFile string input text\n\n**Either `input` or `inputFile` is required**\n
Input string input text\n\n**Either `input` or `inputFile` is required**\n
Source string Source Language code ([details](#description_langage_code_values))
Target string Target Language code ([details](#description_langage_code_values))
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
return string

NlpTranscriptionTranscribeGetAsync() public method

Transcribe Transcribe text from a source language to a target language.\n
public NlpTranscriptionTranscribeGetAsync ( string InputFile, string Input, string Source, string Target, int Profile, string Callback ) : Task
InputFile string input text\n\n**Either `input` or `inputFile` is required**\n
Input string input text\n\n**Either `input` or `inputFile` is required**\n
Source string Source Language code ([details](#description_langage_code_values))
Target string Target Language code ([details](#description_langage_code_values))
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
return Task

SetBasePath() public method

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

TranscriptionApi() public method

Initializes a new instance of the TranscriptionApi class.
public TranscriptionApi ( ApiClient apiClient = null ) : System
apiClient Systran.NlpClientLib.Client.ApiClient
return System

TranscriptionApi() public method

Initializes a new instance of the TranscriptionApi class.
public TranscriptionApi ( String basePath ) : System
basePath String
return System