Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix: missed ukraine ґ letter

  • Loading branch information...
commit d5f63ab4957d22a3e9c3b0e3ba04145b58bdeb1b 1 parent 291a0c8
Anton Bobrov authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 typetrainer/tutors/uk.py
6 typetrainer/tutors/uk.py
View
@@ -22,11 +22,11 @@ def make_lengths_seq(words):
yield t, w
def split_to_words(text, level):
- filter_non_word = re.compile(u'(?iu)[^а-я\'ієї]+')
+ filter_non_word = re.compile(u'(?iu)[^а-я\'ієїґ]+')
charsets = {
- 'basic': u'(?iu)[а-я\'ієї]+',
- 'advanced': u'(?iu)[а-я\'ієї,.:;"!]+'
+ 'basic': u'(?iu)[а-я\'ієїґ]+',
+ 'advanced': u'(?iu)[а-я\'ієїґ,.:;"!]+'
}
if level == 'basic':
Please sign in to comment.
Something went wrong with that request. Please try again.