C# Class Systran.NlpClientLib.Api.MorphologyApi

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

MorphologyApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the MorphologyApi class.

MorphologyApi ( String basePath ) : System

Initializes a new instance of the MorphologyApi class.

NlpMorphologyExtractLemmaGet ( string Input, string InputFile, string Lang, int Profile, string Callback ) : MorphologyExtractLemmaResponse

Get lemma Get the lemma for elements of an input text.\n

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

Get lemma Get the lemma for elements of an input text.\n

NlpMorphologyExtractNpGet ( string Input, string InputFile, string Lang, int Profile, string Callback ) : MorphologyExtractNPResponse

Get NP/chunks Get Noun-phrases and chunks from an input text.\n

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

Get NP/chunks Get Noun-phrases and chunks from an input text.\n

NlpMorphologyExtractPosGet ( string Input, string InputFile, string Lang, int Profile, string Callback ) : MorphologyExtractPosResponse

Get part of speech Get the part of speech for elements of an input text.\n

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

Get part of speech Get the part of speech for elements of an input text.\n

NlpMorphologySupportedLanguagesGet ( string Callback ) : SupportedLanguagesResponse

Supported Languages List of languages pairs in which Morphological analysis is supported.

NlpMorphologySupportedLanguagesGetAsync ( string Callback ) : Task

Supported Languages List of languages pairs in which Morphological analysis is supported.

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

MorphologyApi() public method

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

MorphologyApi() public method

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

NlpMorphologyExtractLemmaGet() public method

Get lemma Get the lemma for elements of an input text.\n
public NlpMorphologyExtractLemmaGet ( string Input, string InputFile, string Lang, int Profile, string Callback ) : MorphologyExtractLemmaResponse
Input string input text\n\n**Either `input` or `inputFile` is required**\n
InputFile 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.MorphologyExtractLemmaResponse

NlpMorphologyExtractLemmaGetAsync() public method

Get lemma Get the lemma for elements of an input text.\n
public NlpMorphologyExtractLemmaGetAsync ( string Input, string InputFile, string Lang, int Profile, string Callback ) : Task
Input string input text\n\n**Either `input` or `inputFile` is required**\n
InputFile 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

NlpMorphologyExtractNpGet() public method

Get NP/chunks Get Noun-phrases and chunks from an input text.\n
public NlpMorphologyExtractNpGet ( string Input, string InputFile, string Lang, int Profile, string Callback ) : MorphologyExtractNPResponse
Input string input text\n\n**Either `input` or `inputFile` is required**\n
InputFile 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.MorphologyExtractNPResponse

NlpMorphologyExtractNpGetAsync() public method

Get NP/chunks Get Noun-phrases and chunks from an input text.\n
public NlpMorphologyExtractNpGetAsync ( string Input, string InputFile, string Lang, int Profile, string Callback ) : Task
Input string input text\n\n**Either `input` or `inputFile` is required**\n
InputFile 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

NlpMorphologyExtractPosGet() public method

Get part of speech Get the part of speech for elements of an input text.\n
public NlpMorphologyExtractPosGet ( string Input, string InputFile, string Lang, int Profile, string Callback ) : MorphologyExtractPosResponse
Input string input text\n\n**Either `input` or `inputFile` is required**\n
InputFile 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.MorphologyExtractPosResponse

NlpMorphologyExtractPosGetAsync() public method

Get part of speech Get the part of speech for elements of an input text.\n
public NlpMorphologyExtractPosGetAsync ( string Input, string InputFile, string Lang, int Profile, string Callback ) : Task
Input string input text\n\n**Either `input` or `inputFile` is required**\n
InputFile 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

NlpMorphologySupportedLanguagesGet() public method

Supported Languages List of languages pairs in which Morphological analysis is supported.
public NlpMorphologySupportedLanguagesGet ( string Callback ) : SupportedLanguagesResponse
Callback string Javascript callback function name for JSONP Support\n
return Systran.NlpClientLib.Model.SupportedLanguagesResponse

NlpMorphologySupportedLanguagesGetAsync() public method

Supported Languages List of languages pairs in which Morphological analysis is supported.
public NlpMorphologySupportedLanguagesGetAsync ( string Callback ) : Task
Callback string Javascript callback function name for JSONP Support\n
return Task

SetBasePath() public method

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