Class NaturalLanguageProcess

    Definition

    Namespace:
    Tizen.Nlp
    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
    object
    NaturalLanguageProcess
    Implements
    System.IDisposable

    Constructors

    View Source

    NaturalLanguageProcess()

    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 Source

    Close()

    A method to close message connection

    Declaration
    [Obsolete("Deprecated since API11. Will be removed in API13.")]
    public void Close()
    View Source

    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.

    View Source

    Dispose()

    A method to release resource of library

    Declaration
    [Obsolete("Deprecated since API11. Will be removed in API13.")]
    public void Dispose()
    View Source

    Dispose(bool)

    Declaration
    protected 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
    [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
    [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

    View Source

    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

    View Source

    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 Source

    Disconnected

    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

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX