C# Class Systran.NlpClientLib.Api.SegmentationApi

Represents a collection of functions to interact with the API endpoints
Inheritance: ISegmentationApi
Exibir arquivo 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.

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.

Method Details

GetBasePath() public method

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

NlpSegmentationSegmentAndTokenizeGet() public method

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
return Systran.NlpClientLib.Model.SegmentationSegmentAndTokenizeResponse

NlpSegmentationSegmentAndTokenizeGetAsync() public method

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
return Task

NlpSegmentationSegmentGet() public method

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
return Systran.NlpClientLib.Model.SegmentationSegmentResponse

NlpSegmentationSegmentGetAsync() public method

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
return Task

NlpSegmentationSupportedLanguagesGet() public method

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
return Systran.NlpClientLib.Model.SupportedLanguagesResponse

NlpSegmentationSupportedLanguagesGetAsync() public method

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
return Task

NlpSegmentationTokenizeGet() public method

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
return Systran.NlpClientLib.Model.SegmentationTokenizeResponse

NlpSegmentationTokenizeGetAsync() public method

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
return Task

SegmentationApi() public method

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

SegmentationApi() public method

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

SetBasePath() public method

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