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
    System.Object
    OpenNLPOpsFactory
    Namespace: Lucene.Net.Analysis.OpenNlp.Tools
    Assembly: Lucene.Net.Analysis.OpenNLP.dll
    Syntax
    public static class OpenNLPOpsFactory : object

    Methods

    | Improve this Doc View Source

    ClearModels()

    Declaration
    public static void ClearModels()
    | Improve this Doc View Source

    GetChunker(String)

    Declaration
    public static NLPChunkerOp GetChunker(string modelName)
    Parameters
    Type Name Description
    System.String modelName
    Returns
    Type Description
    NLPChunkerOp
    | Improve this Doc View Source

    GetChunkerModel(String, IResourceLoader)

    Declaration
    public static ChunkerModel GetChunkerModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    System.String modelName
    Lucene.Net.Analysis.Util.IResourceLoader loader
    Returns
    Type Description
    ChunkerModel
    | Improve this Doc View Source

    GetLemmatizer(String, String)

    Declaration
    public static NLPLemmatizerOp GetLemmatizer(string dictionaryFile, string lemmatizerModelFile)
    Parameters
    Type Name Description
    System.String dictionaryFile
    System.String lemmatizerModelFile
    Returns
    Type Description
    NLPLemmatizerOp
    | Improve this Doc View Source

    GetLemmatizerDictionary(String, IResourceLoader)

    Declaration
    public static string GetLemmatizerDictionary(string dictionaryFile, IResourceLoader loader)
    Parameters
    Type Name Description
    System.String dictionaryFile
    Lucene.Net.Analysis.Util.IResourceLoader loader
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetLemmatizerModel(String, IResourceLoader)

    Declaration
    public static LemmatizerModel GetLemmatizerModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    System.String modelName
    Lucene.Net.Analysis.Util.IResourceLoader loader
    Returns
    Type Description
    LemmatizerModel
    | Improve this Doc View Source

    GetNERTagger(String)

    Declaration
    public static NLPNERTaggerOp GetNERTagger(string modelName)
    Parameters
    Type Name Description
    System.String modelName
    Returns
    Type Description
    NLPNERTaggerOp
    | Improve this Doc View Source

    GetNERTaggerModel(String, IResourceLoader)

    Declaration
    public static TokenNameFinderModel GetNERTaggerModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    System.String modelName
    Lucene.Net.Analysis.Util.IResourceLoader loader
    Returns
    Type Description
    TokenNameFinderModel
    | Improve this Doc View Source

    GetPOSTagger(String)

    Declaration
    public static NLPPOSTaggerOp GetPOSTagger(string modelName)
    Parameters
    Type Name Description
    System.String modelName
    Returns
    Type Description
    NLPPOSTaggerOp
    | Improve this Doc View Source

    GetPOSTaggerModel(String, IResourceLoader)

    Declaration
    public static POSModel GetPOSTaggerModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    System.String modelName
    Lucene.Net.Analysis.Util.IResourceLoader loader
    Returns
    Type Description
    POSModel
    | Improve this Doc View Source

    GetSentenceDetector(String)

    Declaration
    public static NLPSentenceDetectorOp GetSentenceDetector(string modelName)
    Parameters
    Type Name Description
    System.String modelName
    Returns
    Type Description
    NLPSentenceDetectorOp
    | Improve this Doc View Source

    GetSentenceModel(String, IResourceLoader)

    Declaration
    public static SentenceModel GetSentenceModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    System.String modelName
    Lucene.Net.Analysis.Util.IResourceLoader loader
    Returns
    Type Description
    SentenceModel
    | Improve this Doc View Source

    GetTokenizer(String)

    Declaration
    public static NLPTokenizerOp GetTokenizer(string modelName)
    Parameters
    Type Name Description
    System.String modelName
    Returns
    Type Description
    NLPTokenizerOp
    | Improve this Doc View Source

    GetTokenizerModel(String, IResourceLoader)

    Declaration
    public static TokenizerModel GetTokenizerModel(string modelName, IResourceLoader loader)
    Parameters
    Type Name Description
    System.String modelName
    Lucene.Net.Analysis.Util.IResourceLoader loader
    Returns
    Type Description
    TokenizerModel
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.