Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TokenStreamToDot

    Consumes a Lucene.Net.Analysis.TokenStream and outputs the dot (graphviz) string (graph).

    Inheritance
    object
    TokenStreamToDot
    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
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class TokenStreamToDot

    Constructors

    TokenStreamToDot(string, TokenStream, TextWriter)

    If inputText is non-null, and the Lucene.Net.Analysis.TokenStream has offsets, we include the surface form in each arc's label.

    Declaration
    public TokenStreamToDot(string inputText, TokenStream @in, TextWriter @out)
    Parameters
    Type Name Description
    string inputText
    TokenStream in
    TextWriter out

    Fields

    m_out

    Consumes a Lucene.Net.Analysis.TokenStream and outputs the dot (graphviz) string (graph).

    Declaration
    protected readonly TextWriter m_out
    Field Value
    Type Description
    TextWriter

    Methods

    ToDot()

    Consumes a Lucene.Net.Analysis.TokenStream and outputs the dot (graphviz) string (graph).

    Declaration
    public virtual void ToDot()

    WriteArc(int, int, string, string)

    Consumes a Lucene.Net.Analysis.TokenStream and outputs the dot (graphviz) string (graph).

    Declaration
    protected virtual void WriteArc(int fromNode, int toNode, string label, string style)
    Parameters
    Type Name Description
    int fromNode
    int toNode
    string label
    string style

    WriteHeader()

    Override to customize.

    Declaration
    protected virtual void WriteHeader()

    WriteNode(int, string)

    Consumes a Lucene.Net.Analysis.TokenStream and outputs the dot (graphviz) string (graph).

    Declaration
    protected virtual void WriteNode(int name, string label)
    Parameters
    Type Name Description
    int name
    string label

    WriteTrailer()

    Override to customize.

    Declaration
    protected virtual void WriteTrailer()
    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.