|
| Wordlist (String[] words, char space, string name) |
| Constructor used by inheritence only More...
|
|
bool | WordExists (string word, out int index) |
| Method to determine if word exists in word list, great for auto language detection More...
|
|
string | GetWordAtIndex (int index) |
| Returns a string containing the word at the specified index of the wordlist More...
|
|
string [] | Split (string mnemonic) |
|
override string | ToString () |
|
string [] | GetWords (int[] indices) |
|
string | GetSentence (int[] indices) |
|
int [] | ToIndices (string[] words) |
|
int [] | ToIndices (string sentence) |
|
BitArray | ToBits (string sentence) |
|
string [] | GetWords (string sentence) |
|
Definition at line 22 of file Wordlist.cs.
◆ Wordlist()
DLT.Wordlist.Wordlist |
( |
String [] |
words, |
|
|
char |
space, |
|
|
string |
name |
|
) |
| |
Constructor used by inheritence only
- Parameters
-
words | The words to be used in the wordlist |
Definition at line 167 of file Wordlist.cs.
◆ AutoDetect()
static Wordlist DLT.Wordlist.AutoDetect |
( |
string |
sentence | ) |
|
|
static |
◆ AutoDetectAsync()
static Task<Wordlist> DLT.Wordlist.AutoDetectAsync |
( |
string |
sentence | ) |
|
|
static |
◆ AutoDetectLanguage() [1/2]
static Language DLT.Wordlist.AutoDetectLanguage |
( |
string [] |
words | ) |
|
|
static |
◆ AutoDetectLanguage() [2/2]
static Language DLT.Wordlist.AutoDetectLanguage |
( |
string |
sentence | ) |
|
|
static |
◆ GetSentence()
string DLT.Wordlist.GetSentence |
( |
int [] |
indices | ) |
|
◆ GetWordAtIndex()
string DLT.Wordlist.GetWordAtIndex |
( |
int |
index | ) |
|
Returns a string containing the word at the specified index of the wordlist
- Parameters
-
index | Index of word to return |
- Returns
- Word
Definition at line 217 of file Wordlist.cs.
◆ GetWords() [1/2]
string [] DLT.Wordlist.GetWords |
( |
int [] |
indices | ) |
|
◆ GetWords() [2/2]
string [] DLT.Wordlist.GetWords |
( |
string |
sentence | ) |
|
◆ LoadWordList() [1/2]
◆ LoadWordList() [2/2]
static async Task<Wordlist> DLT.Wordlist.LoadWordList |
( |
string |
name | ) |
|
|
static |
◆ Split()
string [] DLT.Wordlist.Split |
( |
string |
mnemonic | ) |
|
◆ ToBits() [1/2]
static BitArray DLT.Wordlist.ToBits |
( |
int [] |
values | ) |
|
|
static |
◆ ToBits() [2/2]
BitArray DLT.Wordlist.ToBits |
( |
string |
sentence | ) |
|
◆ ToIndices() [1/2]
int [] DLT.Wordlist.ToIndices |
( |
string [] |
words | ) |
|
◆ ToIndices() [2/2]
int [] DLT.Wordlist.ToIndices |
( |
string |
sentence | ) |
|
◆ ToIntegers()
static int [] DLT.Wordlist.ToIntegers |
( |
BitArray |
bits | ) |
|
|
static |
◆ ToString()
override string DLT.Wordlist.ToString |
( |
| ) |
|
◆ WordExists()
bool DLT.Wordlist.WordExists |
( |
string |
word, |
|
|
out int |
index |
|
) |
| |
Method to determine if word exists in word list, great for auto language detection
- Parameters
-
word | The word to check for existence |
- Returns
- Exists (true/false)
Definition at line 198 of file Wordlist.cs.
◆ ChineseSimplified
◆ ChineseTraditional
Wordlist DLT.Wordlist.ChineseTraditional |
|
staticget |
◆ English
◆ French
◆ Japanese
◆ Name
◆ Space
◆ Spanish
◆ WordCount
int DLT.Wordlist.WordCount |
|
get |
The number of all the words in the wordlist
Definition at line 226 of file Wordlist.cs.
◆ WordlistSource
The documentation for this class was generated from the following file: