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
Constructors
Declaration
C#Copypublic NaturalLanguageProcess()
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 |
---|---|
Task | A task representing the asynchronous connect operation. |
API Level: 5
Declaration
C#Copypublic void Dispose()
API Level: 5
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|---|
String | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
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 |
---|---|---|
String | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
Task<NamedEntityRecognitionResult> | NamedEntityRecognitionResult |
API Level: 5
Declaration
C#Copypublic Task<PosTagResult> PosTagAsync(string sentence)
Parameters
Type | Name | Description |
---|---|---|
String | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
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 |
---|---|---|
String | sentence | A sentence need to be processed. |
Returns
Type | Description |
---|---|
Task<WordTokenizeResult> | ProcessResult |
API Level: 5
Events
Declaration
C#Copypublic event EventHandler Disconnected
Event Type
Type | Description |
---|---|
EventHandler |