Class NaturalLanguageProcess
Definition
- Namespace:
- Tizen.Nlp
- Assembly:
- Tizen.Nlp.dll
- API Level:
- 5
This class contains the methods in the NLP processing.
C#Copypublic class NaturalLanguageProcess : IDisposable
- Inheritance
-
NaturalLanguageProcess
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic NaturalLanguageProcess()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
API Level: 5
Feature: http://tizen.org/feature/nlp
Methods
Declaration
C#Copypublic void Close()
API Level: 5
Declaration
C#Copypublic 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. |
API Level: 5
Declaration
C#Copypublic void Dispose()
API Level: 5
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
View Source
LanguageDetectAsync(String)
Send language detect request to remote tidl service with one parameters.
Declaration
C#Copypublic Task<LanguageDetectedResult> LanguageDetectAsync(string sentence)
Parameters
Type | Name | Description |
---|---|---|
System.String | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<LanguageDetectedResult> | LanguageDetectedResult |
API Level: 5
View Source
NamedEntityRecognitionAsync(String)
Send Named Entity recognition request to remote tidl service with one parameters.
Declaration
C#Copypublic Task<NamedEntityRecognitionResult> NamedEntityRecognitionAsync(string sentence)
Parameters
Type | Name | Description |
---|---|---|
System.String | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<NamedEntityRecognitionResult> | NamedEntityRecognitionResult |
API Level: 5
Declaration
C#Copypublic Task<PosTagResult> PosTagAsync(string sentence)
Parameters
Type | Name | Description |
---|---|---|
System.String | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PosTagResult> | PosTagResult |
API Level: 5
View Source
WordTokenizeAsync(String)
Send word tokenize request to remote tidl service with one parameters.
Declaration
C#Copypublic Task<WordTokenizeResult> WordTokenizeAsync(string sentence)
Parameters
Type | Name | Description |
---|---|---|
System.String | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<WordTokenizeResult> | ProcessResult |
API Level: 5
Events
Declaration
C#Copypublic event EventHandler Disconnected
Event Type
Type | Description |
---|---|
System.EventHandler |
API Level: 5
Implements
System.IDisposable