Add y vowel to latin generator
authorEugene Petkevich <nasedil.genio.code@gmail.com>
Thu, 19 May 2022 15:45:15 +0000 (18:45 +0300)
committerEugene Petkevich <nasedil.genio.code@gmail.com>
Thu, 19 May 2022 15:45:15 +0000 (18:45 +0300)
wordidgen/wordidgen.py

index 03ff909..c4ff8f7 100755 (executable)
@@ -33,13 +33,13 @@ VOWELS_CYRILLIC = (VOWELS_HARD[0:1] + VOWELS_SOFT[0:3]
                    + VOWELS_HARD[1:5] + VOWELS_SOFT[3:5])
 
 CONSONANTS_LATIN = [Consonant(l, l) for l in 'bcdfghjklmnpqrstvwxz']
-VOWELS_LATIN = [Vowel(l, False) for l in 'aeiou']
+VOWELS_LATIN = [Vowel(l, False) for l in 'aeiouy']
 
 class WordGenerator:
     """Generate word by combining syllables"""
 
     def __init__(self,
-                 consonants=CONSONANTS_CYRILLIC,
+                 consonants=CONSONANTS_EXTCYRILLIC,
                  vowels=VOWELS_CYRILLIC,
                  length=4):
         self.consonants = consonants