C# Класс Lucene.Net.Search.Spell.HighFrequencyDictionary

HighFrequencyDictionary: terms taken from the given field of a Lucene index, which appear in a number of documents above a given threshold. Threshold is a value in [0..1] representing the minimum number of documents (of the total) where a term should appear. Based on LuceneDictionary.
Наследование: Dictionary
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
HighFrequencyDictionary ( IndexReader reader, string field, float thresh ) : Lucene.Net.Index

Creates a new Dictionary, pulling source terms from the specified field in the provided reader.

Terms appearing in less than thresh percentage of documents will be excluded.

Описание методов

HighFrequencyDictionary() публичный Метод

Creates a new Dictionary, pulling source terms from the specified field in the provided reader.

Terms appearing in less than thresh percentage of documents will be excluded.

public HighFrequencyDictionary ( IndexReader reader, string field, float thresh ) : Lucene.Net.Index
reader Lucene.Net.Index.IndexReader
field string
thresh float
Результат Lucene.Net.Index