C# Class Systran.NlpClientLib.Api.NerApi

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

NerApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the NerApi class.

NerApi ( String basePath ) : System

Initializes a new instance of the NerApi class.

NlpNerExtractAnnotationsGet ( string InputFile, string Input, string Lang, int Profile, string Callback ) : NerExtractAnnotationsResponse

Get entity annotations\n Get the list of entity annotations given an input text.\nAn entity annotation is an entity associated with its position in the text.\n

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

Get entity annotations\n Get the list of entity annotations given an input text.\nAn entity annotation is an entity associated with its position in the text.\n

NlpNerExtractEntitiesGet ( string InputFile, string Input, string Lang, int Profile, string Callback ) : NerExtractEntitiesResponse

Get list of entities\n Get the list of different entities given an input text.\n

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

Get list of entities\n Get the list of different entities given an input text.\n

NlpNerSupportedLanguagesGet ( string Callback ) : SupportedLanguagesResponse

Supported Languages List of languages in which NER is supported.

NlpNerSupportedLanguagesGetAsync ( string Callback ) : Task

Supported Languages List of languages in which NER is supported.

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

NerApi() public méthode

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

NerApi() public méthode

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

NlpNerExtractAnnotationsGet() public méthode

Get entity annotations\n Get the list of entity annotations given an input text.\nAn entity annotation is an entity associated with its position in the text.\n
public NlpNerExtractAnnotationsGet ( string InputFile, string Input, string Lang, int Profile, string Callback ) : NerExtractAnnotationsResponse
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.NerExtractAnnotationsResponse

NlpNerExtractAnnotationsGetAsync() public méthode

Get entity annotations\n Get the list of entity annotations given an input text.\nAn entity annotation is an entity associated with its position in the text.\n
public NlpNerExtractAnnotationsGetAsync ( 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

NlpNerExtractEntitiesGet() public méthode

Get list of entities\n Get the list of different entities given an input text.\n
public NlpNerExtractEntitiesGet ( string InputFile, string Input, string Lang, int Profile, string Callback ) : NerExtractEntitiesResponse
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.NerExtractEntitiesResponse

NlpNerExtractEntitiesGetAsync() public méthode

Get list of entities\n Get the list of different entities given an input text.\n
public NlpNerExtractEntitiesGetAsync ( 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

NlpNerSupportedLanguagesGet() public méthode

Supported Languages List of languages in which NER is supported.
public NlpNerSupportedLanguagesGet ( string Callback ) : SupportedLanguagesResponse
Callback string Javascript callback function name for JSONP Support\n
Résultat Systran.NlpClientLib.Model.SupportedLanguagesResponse

NlpNerSupportedLanguagesGetAsync() public méthode

Supported Languages List of languages in which NER is supported.
public NlpNerSupportedLanguagesGetAsync ( string Callback ) : Task
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