C# Класс FileScanner.Preprocessing.Normalizer

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetBasicForm ( String phrase ) : String

Finds the basic form for the given word. For example, returns a singular nominative form if a noun is given.

RemovePolishCharacters ( String phrase ) : String

Returns a string with Polish characters converted to English ones and all letters converted to lower-case.

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

Метод Описание
AddMissingE ( StringBuilder mutablePhrase ) : void
GetBasicFormOfPhrase ( String phrase ) : String
GetBasicFormOfSingleWord ( String phrase ) : String
GetNormalizedCharacter ( char c ) : char
RemovePalatization ( StringBuilder mutablePhrase ) : void
ReplaceSuffix ( StringBuilder mutablePhrase, string suffix, string newSuffix ) : void
appendWordToStringBuilder ( StringBuilder builder, String word ) : StringBuilder
isSingleWord ( String phrase ) : bool

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

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

Finds the basic form for the given word. For example, returns a singular nominative form if a noun is given.
public GetBasicForm ( String phrase ) : String
phrase String input word
Результат String

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

Returns a string with Polish characters converted to English ones and all letters converted to lower-case.
public RemovePolishCharacters ( String phrase ) : String
phrase String input word
Результат String