C# Класс FrequencyAnalyzer.IgnoreList

IgnoreList is used to find, load and save the ignore list. It also contains a default ignore list.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
createIgnoreListFileIfNotExists ( ) : void
getIgnoreList ( ) : HashSet

Look for a word / character ignore list on disk at a specified location. If it is found, load it into memory and ignore all words / characters in the file. If it is not found a new ignore list will be created with a standard set of ignored characters.

Приватные методы

Метод Описание
createInitialIgnoreList ( ) : HashSet

These are the default characters that are always escaped. Users can specify others in the ignore list.

getIgnoreListFilePath ( ) : string
ignoringNumbers ( ) : bool

Whether we are to ignore numbers in the frequency counting.

readIgnoreList ( ) : HashSet

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

createIgnoreListFileIfNotExists() публичный статический Метод

public static createIgnoreListFileIfNotExists ( ) : void
Результат void

getIgnoreList() публичный статический Метод

Look for a word / character ignore list on disk at a specified location. If it is found, load it into memory and ignore all words / characters in the file. If it is not found a new ignore list will be created with a standard set of ignored characters.
public static getIgnoreList ( ) : HashSet
Результат HashSet