Class VocabularyAssert
Utility class for doing vocabulary-based stemming tests.
Inheritance
System.Object
VocabularyAssert
Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net.TestFramework.dll
Syntax
public static class VocabularyAssert : object
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 |
|---|---|---|
| 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 | |
| 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 |
|---|---|---|
| Analyzer | a | |
| Stream | zipFile | |
| System.String | voc | |
| System.String | out |