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

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

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

Метод Описание
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.

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

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

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

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

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

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

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

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

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
Результат Systran.NlpClientLib.Model.NerExtractAnnotationsResponse

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

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
Результат Task

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

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
Результат Systran.NlpClientLib.Model.NerExtractEntitiesResponse

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

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
Результат Task

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

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
Результат Systran.NlpClientLib.Model.SupportedLanguagesResponse

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

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
Результат Task

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

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