Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pituus = len(word)
- i = previous_hyphen_at
- i = 0
- while i < pituus:
- letter = word[i]
- if is_finnish_vowel(self, letter):
- if get_next_consonant(self, word, i):
- if get_next_vowel(self, word, i):
- return i
- else:
- return 'NOT_APPLICABLE'
- i += 1
Add Comment
Please, Sign In to add comment