C# Class Strabo.Core.TextRecognition.CheckDictionaryElasticSearch

Afficher le fichier Open project: spatial-computing/strabo-learning-ocr-transformation Class Usage Examples

Méthodes publiques

Свойство Type Description
geo_dictionary HashSet

Méthodes publiques

Méthode Description
findSimilarDictionaryWord ( string word, double maxSimilarity, int index, List equalMinDistanceDictWordList, bool exact ) : double
getDictionaryWord ( TessResult tr, int dictionaryExactMatchStringLength ) : TessResult
readDictionary ( double top, double left, double bottom, double right ) : void

Private Methods

Méthode Description
NeedlemanWunschTiebreaker ( IEnumerable candidates, string text, bool front, bool back ) : string
checkMultiLines ( string text, bool front, bool back ) : DictResult
checkOneLine ( string text, bool f, bool b ) : DictResult
checkOneWord ( string text, bool front, bool back ) : DictResult
reverseWord ( string word ) : string
writeAlignment ( IEnumerable candidates, string text ) : void
writeResult ( IEnumerable candidates, string text, string maxstr ) : void

Method Details

findSimilarDictionaryWord() public static méthode

public static findSimilarDictionaryWord ( string word, double maxSimilarity, int index, List equalMinDistanceDictWordList, bool exact ) : double
word string
maxSimilarity double
index int
equalMinDistanceDictWordList List
exact bool
Résultat double

getDictionaryWord() public static méthode

public static getDictionaryWord ( TessResult tr, int dictionaryExactMatchStringLength ) : TessResult
tr TessResult
dictionaryExactMatchStringLength int
Résultat TessResult

readDictionary() public static méthode

public static readDictionary ( double top, double left, double bottom, double right ) : void
top double
left double
bottom double
right double
Résultat void

Property Details

geo_dictionary public_oe static_oe property

public static HashSet geo_dictionary
Résultat HashSet