Class LatinAlphabet
A standard representation of a Latin alphabet
[Version(1, 0, 0)]
public class LatinAlphabet : IWordAlphabet
- Inheritance
-
LatinAlphabet
- Implements
- Inherited Members
- Extension Methods
Constructors
- LatinAlphabet()
Initialize the alphabet with default characters.
- LatinAlphabet(IEnumerable<string>)
Initialize the alphabet with a custom sequence of characters. The order of the letters will define the sorting of MStrings constructed from this alphabet.
Fields
- DefaultEnglishAlphabet
Default English alphabet
- LetterFrequencies
Letter frequencies in standard english text
- MergedQuEnglishAlphabet
Default English alphabet but with combined 'qu' letter.
Properties
- Letters
Gets all characters in the alphabet. They are not necessarily sorted alphabetically
Methods
- GetRandomLetter()
Returns a random character from the alphabet
- IsCharacterMatch(string, string, out bool)
Checks whether two characters match
- IsZeroWidthMatch(string)
Is this matching character a zero-width match?
- SplitChars(Word, bool, bool)
Split a word into its constituent alphabet characters. Will also optionally split to include ?, + and * search characters. Optionally ignore spaces All other characters are ignored