From: Eugene Petkevich Date: Thu, 19 May 2022 15:45:15 +0000 (+0300) Subject: Add y vowel to latin generator X-Git-Tag: v0.0.8~1 X-Git-Url: https://git.zuelum.org/?a=commitdiff_plain;h=1b2076e7c5e1c5ce77e22621f6bac27e454163b7;p=word-id-generator.git Add y vowel to latin generator --- diff --git a/wordidgen/wordidgen.py b/wordidgen/wordidgen.py index 03ff909..c4ff8f7 100755 --- a/wordidgen/wordidgen.py +++ b/wordidgen/wordidgen.py @@ -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