mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-11 16:52:21 +03:00
Fix undefined names
This commit is contained in:
parent
78aa663f79
commit
b7f9cbdc83
|
@ -1,7 +1,6 @@
|
||||||
# coding: utf8
|
# coding: utf8
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
class IrishMorph:
|
|
||||||
consonants = ['b', 'c', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', 'n', 'p', 'q', 'r', 's', 't', 'v', 'w', 'x', 'z']
|
consonants = ['b', 'c', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', 'n', 'p', 'q', 'r', 's', 't', 'v', 'w', 'x', 'z']
|
||||||
broad_vowels = ['a', 'á', 'o', 'ó', 'u', 'ú']
|
broad_vowels = ['a', 'á', 'o', 'ó', 'u', 'ú']
|
||||||
slender_vowels = ['e', 'é', 'i', 'í']
|
slender_vowels = ['e', 'é', 'i', 'í']
|
||||||
|
@ -30,4 +29,3 @@ class IrishMorph:
|
||||||
return word[:-1]
|
return word[:-1]
|
||||||
else:
|
else:
|
||||||
return word
|
return word
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user