Find lowercased forms of ordinal words, where possible

This commit is contained in:
Kit 2018-01-08 03:28:50 +01:00
parent 9bc524982e
commit ed0db95183
No known key found for this signature in database
GPG Key ID: E9B25746C2EADBA0
3 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,8 @@ def like_num(text):
return True
if text.lower() in _num_words:
return True
if text.lower() in _ordinal_words:
return True
return False

View File

@ -32,6 +32,8 @@ def like_num(text):
return True
if text.lower() in _num_words:
return True
if text.lower() in _ordinal_words:
return True
return False

View File

@ -30,6 +30,8 @@ def like_num(text):
return True
if text.lower() in _num_words:
return True
if text.lower() in _ordinal_words:
return True
return False