C# Класс DibburHamatchilMatcher.Program

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
gdebugiteration int
lettersInOrderOfFrequency List
pregeneratedKMultiwordValues long[]
pregeneratedKWordValues long[]

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

Метод Описание
CalculateHashes ( List allwords ) : List
InitializeHashTables ( ) : void

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

Метод Описание
BuildPhraseFromArray ( List allWords, int iWord, int len, int wordToSkip = -1, int word2ToSkip = -1 ) : string
CalculateAndFillInDisambiguity ( RashiUnit ru ) : void
CleanText ( string curLine ) : string
ComputeLevenshteinDistance ( string s, string t ) : int

Compute the distance between two strings.

ComputeLevenshteinDistanceByWord ( string s, string t ) : int
CountUnmatchedUpRashi ( GemaraDaf curDaf ) : int
CountWords ( string s ) : int
Get2LetterForm ( string s ) : string
GetAllApproximateMatches ( GemaraDaf curDaf, RashiUnit curRashi, int startBound, int endBound, double threshold ) : List
GetAllApproximateMatchesWithAbbrev ( GemaraDaf curDaf, RashiUnit curRashi, int startBound, int endBound, double threshold ) : List
GetAllApproximateMatchesWithWordSkip ( GemaraDaf curDaf, RashiUnit curRashi, int startBound, int endBound, double threshold ) : List
GetAllMasechtotWithRashi ( string baseDir ) : List
GetAllMasechtotWithRashiFromSerializedData ( string baseDir ) : List
GetNormalizedLetter ( char ch ) : char
GetPolynomialKMultiWordValue ( int pos ) : long
GetPolynomialKValueReal ( int pos, int k ) : long
GetPolynomialKWordValue ( int pos ) : long
GetRashiBoundaries ( List allRashi, int dwRashi, int &startBound, int &endBound, int &prevMatchedRashi, int &nextMatchedRashi, int maxBound ) : void
GetStringWithRemovedWord ( string p, int iWordToIgnore ) : string
GetWordSignature ( string word ) : long
IsStringMatchup ( string orig, string target, double threshold, double &score ) : bool
Main ( string args ) : void
RecalculateDisambiguities ( List allRashis, List rashisByDisambiguity, int prevMatchedRashi, int nextMatchedRashi, int startbound, int endbound, RashiUnit newlyMatchedRashiUnit ) : void

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

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

public static CalculateHashes ( List allwords ) : List
allwords List
Результат List

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

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

Описание свойств

gdebugiteration публичное статическое свойство

public static int gdebugiteration
Результат int

lettersInOrderOfFrequency публичное статическое свойство

public static List lettersInOrderOfFrequency
Результат List

pregeneratedKMultiwordValues публичное статическое свойство

public static long[] pregeneratedKMultiwordValues
Результат long[]

pregeneratedKWordValues публичное статическое свойство

public static long[] pregeneratedKWordValues
Результат long[]