Show / Hide Table of Contents

    Class TokenStreamToDot

    Consumes a and outputs the dot (graphviz) string (graph).

    Inheritance
    System.Object
    TokenStreamToDot
    Namespace: Lucene.Net.Analysis
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class TokenStreamToDot : object

    Constructors

    | Improve this Doc View Source

    TokenStreamToDot(String, TokenStream, TextWriter)

    If inputText is non-null, and the 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
    System.String inputText
    TokenStream in
    TextWriter out

    Fields

    | Improve this Doc View Source

    m_out

    Declaration
    protected readonly TextWriter m_out
    Field Value
    Type Description
    TextWriter

    Methods

    | Improve this Doc View Source

    ToDot()

    Declaration
    public virtual void ToDot()
    | Improve this Doc View Source

    WriteArc(Int32, Int32, String, String)

    Declaration
    protected virtual void WriteArc(int fromNode, int toNode, string label, string style)
    Parameters
    Type Name Description
    System.Int32 fromNode
    System.Int32 toNode
    System.String label
    System.String style
    | Improve this Doc View Source

    WriteHeader()

    Override to customize.

    Declaration
    protected virtual void WriteHeader()
    | Improve this Doc View Source

    WriteNode(Int32, String)

    Declaration
    protected virtual void WriteNode(int name, string label)
    Parameters
    Type Name Description
    System.Int32 name
    System.String label
    | Improve this Doc View Source

    WriteTrailer()

    Override to customize.

    Declaration
    protected virtual void WriteTrailer()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)