Class VocabularyAssert
Utility class for doing vocabulary-based stemming tests.
Inherited Members
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 |