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 © 2020 Licensed to the Apache Software Foundation (ASF)