Class VocabularyAssert
Utility class for doing vocabulary-based stemming tests.
Inheritance
System.Object
VocabularyAssert
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net.TestFramework.dll
Syntax
public static class VocabularyAssert
Methods
| Improve this Doc View SourceAssertVocabulary(Analyzer, Stream)
Run a vocabulary test against one file: tab separated.
Declaration
public static void AssertVocabulary(Analyzer a, Stream vocOut)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.Analyzer | a | |
System.IO.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 |
---|---|---|
Lucene.Net.Analysis.Analyzer | a | |
System.IO.Stream | voc | |
System.IO.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 |
---|---|---|
Lucene.Net.Analysis.Analyzer | a | |
System.IO.Stream | zipFile | |
System.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 |
---|---|---|
Lucene.Net.Analysis.Analyzer | a | |
System.IO.Stream | zipFile | |
System.String | voc | |
System.String | out |