Table of Contents
- getChunks
- splitToChunks
- pass
- getProbablyItem
- shuffle
- shuffleWithMinPercent
- similarity
- generateCodeFromString
- splitCamelCaseToString
- trim
- isLetterAnswer
- getPossibleTranslit
- getPossibleTranslits
- isWordInListWithTranslit
- getWordTranslit
- unique
- wordItemToText
getChunks
Parameters
splitToChunks
Parameters
pass
The empty function it's to prevent duplications
Parameters
-
args
...Array<any>
Returns void
getProbablyItem
Parameters
Returns ProbablyItemResult?
shuffle
Parameters
-
a
Array<T>
shuffleWithMinPercent
Parameters
similarity
get words similarity rate by Levenshtein distance
Parameters
Returns number
generateCodeFromString
Parameters
-
str
string
Returns string
splitCamelCaseToString
Parameters
-
text
string
trim
Parameters
-
str
string
Returns string
isLetterAnswer
Parameters
getPossibleTranslit
Get word's all possible translits
Parameters
-
word
string
getPossibleTranslits
Get possible translits for list fo words
Parameters
isWordInListWithTranslit
Check is word in one of possible variant of translits by similarity
Parameters
Returns boolean
getWordTranslit
Get most possible variant of list by translit with similarity rate
Parameters
Returns string?
unique
Parameters
wordItemToText
Return the word with his common view form
Parameters
-
item
WordItem