This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_syllables(word): | |
syllables = [] | |
""" | |
Aşağıdaki satır gelen kelimenin ünlü harfler 1, ünsüzler 0 olacak | |
şekilde desenini çıkarır. | |
Örneğin: arabacı -> 1010101, türkiye -> 010010 | |
""" |