From 1b2076e7c5e1c5ce77e22621f6bac27e454163b7 Mon Sep 17 00:00:00 2001 From: Eugene Petkevich Date: Thu, 19 May 2022 18:45:15 +0300 Subject: [PATCH] Add y vowel to latin generator --- wordidgen/wordidgen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.17.1