C# Класс Systran.NlpClientLib.Api.SegmentationApi

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

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

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

Gets the base path of the API client.

NlpSegmentationSegmentAndTokenizeGet ( string InputFile, string Input, string Lang, int Profile, string Callback ) : SegmentationSegmentAndTokenizeResponse

Segment and tokenize\n Segment an input text, then tokenize each segment.\n

NlpSegmentationSegmentAndTokenizeGetAsync ( string InputFile, string Input, string Lang, int Profile, string Callback ) : Task

Segment and tokenize\n Segment an input text, then tokenize each segment.\n

NlpSegmentationSegmentGet ( string InputFile, string Input, string Lang, int Profile, string Callback ) : SegmentationSegmentResponse

Segment\n Segment an input text.\n

NlpSegmentationSegmentGetAsync ( string InputFile, string Input, string Lang, int Profile, string Callback ) : Task

Segment\n Segment an input text.\n

NlpSegmentationSupportedLanguagesGet ( string Callback ) : SupportedLanguagesResponse

Supported Languages List of languages in which Segmentation is supported.

NlpSegmentationSupportedLanguagesGetAsync ( string Callback ) : Task

Supported Languages List of languages in which Segmentation is supported.

NlpSegmentationTokenizeGet ( string InputFile, string Input, string Lang, int Profile, string Callback ) : SegmentationTokenizeResponse

Tokenize\n Tokenize an input text.\n

NlpSegmentationTokenizeGetAsync ( string InputFile, string Input, string Lang, int Profile, string Callback ) : Task

Tokenize\n Tokenize an input text.\n

SegmentationApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the SegmentationApi class.

SegmentationApi ( String basePath ) : System

Initializes a new instance of the SegmentationApi class.

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

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

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

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

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

Segment and tokenize\n Segment an input text, then tokenize each segment.\n
public NlpSegmentationSegmentAndTokenizeGet ( string InputFile, string Input, string Lang, int Profile, string Callback ) : SegmentationSegmentAndTokenizeResponse
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
Lang string Language code of the input ([details](#description_langage_code_values))
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.NlpClientLib.Model.SegmentationSegmentAndTokenizeResponse

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

Segment and tokenize\n Segment an input text, then tokenize each segment.\n
public NlpSegmentationSegmentAndTokenizeGetAsync ( string InputFile, string Input, string Lang, 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
Lang string Language code of the input ([details](#description_langage_code_values))
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
Результат Task

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

Segment\n Segment an input text.\n
public NlpSegmentationSegmentGet ( string InputFile, string Input, string Lang, int Profile, string Callback ) : SegmentationSegmentResponse
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
Lang string Language code of the input ([details](#description_langage_code_values))
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.NlpClientLib.Model.SegmentationSegmentResponse

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

Segment\n Segment an input text.\n
public NlpSegmentationSegmentGetAsync ( string InputFile, string Input, string Lang, 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
Lang string Language code of the input ([details](#description_langage_code_values))
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
Результат Task

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

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

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

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

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

Tokenize\n Tokenize an input text.\n
public NlpSegmentationTokenizeGet ( string InputFile, string Input, string Lang, int Profile, string Callback ) : SegmentationTokenizeResponse
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
Lang string Language code of the input ([details](#description_langage_code_values))
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
Результат Systran.NlpClientLib.Model.SegmentationTokenizeResponse

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

Tokenize\n Tokenize an input text.\n
public NlpSegmentationTokenizeGetAsync ( string InputFile, string Input, string Lang, 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
Lang string Language code of the input ([details](#description_langage_code_values))
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
Результат Task

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

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

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

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

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

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