Class NaturalLanguageProcess
Definition
- Assembly:
- Tizen.Nlp.dll
This class contains the methods in the NLP processing.
C#Copy[Obsolete("Deprecated since API11. Will be removed in API13.")] public class NaturalLanguageProcess : IDisposable
- Inheritance
-
objectNaturalLanguageProcess
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copy[Obsolete("Deprecated since API11. Will be removed in API13.")] public NaturalLanguageProcess()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
Methods
Declaration
C#Copy[Obsolete("Deprecated since API11. Will be removed in API13.")] public void Close()
Declaration
C#Copy[Obsolete("Deprecated since API11. Will be removed in API13.")] public Task Connect()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task representing the asynchronous connect operation. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the connect is rejected. |
Declaration
C#Copy[Obsolete("Deprecated since API11. Will be removed in API13.")] public void Dispose()
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
View Source
LanguageDetectAsync(string)
Send language detect request to remote tidl service with one parameters.
Declaration
C#Copy[Obsolete("Deprecated since API11. Will be removed in API13.")] public Task<LanguageDetectedResult> LanguageDetectAsync(string sentence)
Parameters
Type | Name | Description |
---|---|---|
string | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><LanguageDetectedResult> | LanguageDetectedResult |
View Source
NamedEntityRecognitionAsync(string)
Send Named Entity recognition request to remote tidl service with one parameters.
Declaration
C#Copy[Obsolete("Deprecated since API11. Will be removed in API13.")] public Task<NamedEntityRecognitionResult> NamedEntityRecognitionAsync(string sentence)
Parameters
Type | Name | Description |
---|---|---|
string | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><NamedEntityRecognitionResult> | NamedEntityRecognitionResult |
Declaration
C#Copy[Obsolete("Deprecated since API11. Will be removed in API13.")] public Task<PosTagResult> PosTagAsync(string sentence)
Parameters
Type | Name | Description |
---|---|---|
string | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><PosTagResult> | PosTagResult |
View Source
WordTokenizeAsync(string)
Send word tokenize request to remote tidl service with one parameters.
Declaration
C#Copy[Obsolete("Deprecated since API11. Will be removed in API13.")] public Task<WordTokenizeResult> WordTokenizeAsync(string sentence)
Parameters
Type | Name | Description |
---|---|---|
string | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><WordTokenizeResult> | ProcessResult |
Events
Declaration
C#Copy[Obsolete("Deprecated since API11. Will be removed in API13.")] public event EventHandler Disconnected
Event Type
Type | Description |
---|---|
System.EventHandler |
Implements
System.IDisposable