Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class NLPTokenizerOp

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

    Inheritance
    System.Object
    NLPTokenizerOp
    Namespace: Lucene.Net.Analysis.OpenNlp.Tools
    Assembly: Lucene.Net.Analysis.OpenNLP.dll
    Syntax
    public class NLPTokenizerOp : object

    Constructors

    | Improve this Doc View Source

    NLPTokenizerOp()

    Declaration
    public NLPTokenizerOp()
    | Improve this Doc View Source

    NLPTokenizerOp(TokenizerModel)

    Declaration
    public NLPTokenizerOp(TokenizerModel model)
    Parameters
    Type Name Description
    TokenizerModel model

    Methods

    | Improve this Doc View Source

    GetTerms(String)

    Declaration
    public virtual Span[] GetTerms(string sentence)
    Parameters
    Type Name Description
    System.String sentence
    Returns
    Type Description
    Span[]
    • 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.