* Fix unicode error in orth

This commit is contained in:
Matthew Honnibal 2015-01-05 05:53:08 +11:00
parent 4e085d5166
commit 58f75abaca
1 changed files with 2 additions and 2 deletions

View File

@ -155,5 +155,5 @@ def word_shape(string):
def asciied(string):
ascii_string = unidecode(string)
if not ascii_string:
return '???'
return ascii_string.decode('ascii')
return b'???'
return ascii_string