Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class VocabularyAssert

    Utility class for doing vocabulary-based stemming tests.

    Inheritance
    object
    VocabularyAssert
    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 static class VocabularyAssert

    Methods

    AssertVocabulary(Analyzer, Stream)

    Run a vocabulary test against one file: tab separated.

    Declaration
    public static void AssertVocabulary(Analyzer a, Stream vocOut)
    Parameters
    Type Name Description
    Analyzer a
    Stream vocOut

    AssertVocabulary(Analyzer, Stream, Stream)

    Run a vocabulary test against two data files.

    Declaration
    public static void AssertVocabulary(Analyzer a, Stream voc, Stream @out)
    Parameters
    Type Name Description
    Analyzer a
    Stream voc
    Stream out

    AssertVocabulary(Analyzer, Stream, string)

    Run a vocabulary test against a tab-separated data file inside a zip file.

    Declaration
    public static void AssertVocabulary(Analyzer a, Stream zipFile, string vocOut)
    Parameters
    Type Name Description
    Analyzer a
    Stream zipFile
    string vocOut

    AssertVocabulary(Analyzer, Stream, string, string)

    Run a vocabulary test against two data files inside a zip file.

    Declaration
    public static void AssertVocabulary(Analyzer a, Stream zipFile, string voc, string @out)
    Parameters
    Type Name Description
    Analyzer a
    Stream zipFile
    string voc
    string out
    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.