Class NaturalLanguageProcess
Definition
- Assembly:
- Tizen.Nlp.dll
This class contains the methods in the NLP processing.
[Obsolete("Deprecated since API11. Will be removed in API13.")]
public class NaturalLanguageProcess : IDisposable
- Inheritance
-
objectNaturalLanguageProcess
- Implements
-
System.IDisposable
Constructors
View SourceNaturalLanguageProcess()
An construct method to init local env of NLP .
Declaration
[Obsolete("Deprecated since API11. Will be removed in API13.")]
public NaturalLanguageProcess()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
Methods
View SourceClose()
A method to close message connection
Declaration
[Obsolete("Deprecated since API11. Will be removed in API13.")]
public void Close()
Connect()
An async method to connect remote service.
Declaration
[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. |
Dispose()
A method to release resource of library
Declaration
[Obsolete("Deprecated since API11. Will be removed in API13.")]
public void Dispose()
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
LanguageDetectAsync(string)
Send language detect request to remote tidl service with one parameters.
Declaration
[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 |
NamedEntityRecognitionAsync(string)
Send Named Entity recognition request to remote tidl service with one parameters.
Declaration
[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 |
PosTagAsync(string)
Send Pos of Tag request to remote tidl service with one parameters.
Declaration
[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 |
WordTokenizeAsync(string)
Send word tokenize request to remote tidl service with one parameters.
Declaration
[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
View SourceDisconnected
A connection status change event
Declaration
[Obsolete("Deprecated since API11. Will be removed in API13.")]
public event EventHandler Disconnected
Event Type
Type | Description |
---|---|
System.EventHandler |