C# Class Systran.NlpClientLib.Api.SegmentationApi

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

Méthodes publiques

Méthode 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 méthode

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

NlpSegmentationSegmentAndTokenizeGet() public méthode

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
Résultat Systran.NlpClientLib.Model.SegmentationSegmentAndTokenizeResponse

NlpSegmentationSegmentAndTokenizeGetAsync() public méthode

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

NlpSegmentationSegmentGet() public méthode

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
Résultat Systran.NlpClientLib.Model.SegmentationSegmentResponse

NlpSegmentationSegmentGetAsync() public méthode

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

NlpSegmentationSupportedLanguagesGet() public méthode

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
Résultat Systran.NlpClientLib.Model.SupportedLanguagesResponse

NlpSegmentationSupportedLanguagesGetAsync() public méthode

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

NlpSegmentationTokenizeGet() public méthode

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
Résultat Systran.NlpClientLib.Model.SegmentationTokenizeResponse

NlpSegmentationTokenizeGetAsync() public méthode

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

SegmentationApi() public méthode

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

SegmentationApi() public méthode

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

SetBasePath() public méthode

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