From: Eugene Petkevich Date: Tue, 9 Jan 2024 01:07:30 +0000 (+0100) Subject: add easy latin X-Git-Url: https://git.zuelum.org/?a=commitdiff_plain;h=07089e7df686f284275926f27fcd0d6e3b40837d;p=word-id-generator.git add easy latin --- diff --git a/wordidgen/wordidgen.py b/wordidgen/wordidgen.py index e9983b4..c76adf8 100755 --- a/wordidgen/wordidgen.py +++ b/wordidgen/wordidgen.py @@ -42,10 +42,14 @@ VOWELS_CYRILLIC = (VOWELS_HARD[0:1] + VOWELS_SOFT[0:3] CONSONANTS_LATIN = [Consonant(l, l) for l in 'bcdfghjklmnpqrstvwxz'] VOWELS_LATIN = [Vowel(l, False) for l in 'aeiouy'] +EASY_CONSONANTS = [Consonant(l, l) for l in 'mnktp'] +EASY_VOWELS = [Vowel(l, False) for l in 'aiu'] + VOCABULARIES = { 'cyrillic': (CONSONANTS_CYRILLIC, VOWELS_CYRILLIC), 'extcyrillic': (CONSONANTS_EXTCYRILLIC, VOWELS_CYRILLIC), - 'latin': (CONSONANTS_LATIN, VOWELS_LATIN) + 'latin': (CONSONANTS_LATIN, VOWELS_LATIN), + 'easy': (EASY_CONSONANTS, EASY_VOWELS), } class WordGenerator: