Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class NLPSentenceDetectorOp

    Supply OpenNLP Sentence Detector tool. Requires binary models from OpenNLP project on SourceForge.

    Inheritance
    object
    NLPSentenceDetectorOp
    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 class NLPSentenceDetectorOp

    Constructors

    NLPSentenceDetectorOp()

    Supply OpenNLP Sentence Detector tool. Requires binary models from OpenNLP project on SourceForge.

    Declaration
    public NLPSentenceDetectorOp()

    NLPSentenceDetectorOp(SentenceModel)

    Supply OpenNLP Sentence Detector tool. Requires binary models from OpenNLP project on SourceForge.

    Declaration
    public NLPSentenceDetectorOp(SentenceModel model)
    Parameters
    Type Name Description
    SentenceModel model

    Methods

    SplitSentences(string)

    Supply OpenNLP Sentence Detector tool. Requires binary models from OpenNLP project on SourceForge.

    Declaration
    public virtual Span[] SplitSentences(string line)
    Parameters
    Type Name Description
    string line
    Returns
    Type Description
    Span[]
    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.