Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class OpenNLPOpsFactory

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Inheritance
    object
    OpenNLPOpsFactory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Analysis.OpenNlp.Tools
    Assembly: Lucene.Net.Analysis.OpenNLP.dll
    Syntax
    public static class OpenNLPOpsFactory

    Methods

    ClearModels()

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static void ClearModels()

    GetChunker(string)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static NLPChunkerOp GetChunker(string modelName)
    Parameters
    Type Name Description
    string modelName
    Returns
    Type Description
    NLPChunkerOp

    GetChunkerModel(string, IResourceLoader)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static ChunkerModel GetChunkerModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    string modelName
    IResourceLoader loader
    Returns
    Type Description
    ChunkerModel

    GetLemmatizer(string, string)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static NLPLemmatizerOp GetLemmatizer(string dictionaryFile, string lemmatizerModelFile)
    Parameters
    Type Name Description
    string dictionaryFile
    string lemmatizerModelFile
    Returns
    Type Description
    NLPLemmatizerOp

    GetLemmatizerDictionary(string, IResourceLoader)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static string GetLemmatizerDictionary(string dictionaryFile, IResourceLoader loader)
    Parameters
    Type Name Description
    string dictionaryFile
    IResourceLoader loader
    Returns
    Type Description
    string

    GetLemmatizerModel(string, IResourceLoader)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static LemmatizerModel GetLemmatizerModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    string modelName
    IResourceLoader loader
    Returns
    Type Description
    LemmatizerModel

    GetNERTagger(string)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static NLPNERTaggerOp GetNERTagger(string modelName)
    Parameters
    Type Name Description
    string modelName
    Returns
    Type Description
    NLPNERTaggerOp

    GetNERTaggerModel(string, IResourceLoader)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static TokenNameFinderModel GetNERTaggerModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    string modelName
    IResourceLoader loader
    Returns
    Type Description
    TokenNameFinderModel

    GetPOSTagger(string)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static NLPPOSTaggerOp GetPOSTagger(string modelName)
    Parameters
    Type Name Description
    string modelName
    Returns
    Type Description
    NLPPOSTaggerOp

    GetPOSTaggerModel(string, IResourceLoader)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static POSModel GetPOSTaggerModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    string modelName
    IResourceLoader loader
    Returns
    Type Description
    POSModel

    GetSentenceDetector(string)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static NLPSentenceDetectorOp GetSentenceDetector(string modelName)
    Parameters
    Type Name Description
    string modelName
    Returns
    Type Description
    NLPSentenceDetectorOp

    GetSentenceModel(string, IResourceLoader)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static SentenceModel GetSentenceModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    string modelName
    IResourceLoader loader
    Returns
    Type Description
    SentenceModel

    GetTokenizer(string)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static NLPTokenizerOp GetTokenizer(string modelName)
    Parameters
    Type Name Description
    string modelName
    Returns
    Type Description
    NLPTokenizerOp

    GetTokenizerModel(string, IResourceLoader)

    Supply OpenNLP Named Entity Recognizer. Cache model file objects. Assumes model files are thread-safe.

    Declaration
    public static TokenizerModel GetTokenizerModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    string modelName
    IResourceLoader loader
    Returns
    Type Description
    TokenizerModel
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.