Skip to content

Commit be57a0b

Browse files
committed
typo
1 parent 35fb956 commit be57a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

probablepeople/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def tokenFeatures(token: str) -> Feature:
278278
return features
279279

280280

281-
def vowelRatio(token: str) -> int | bool:
281+
def vowelRatio(token: str) -> typing.Union[int, bool]:
282282
n_chars = len(token)
283283
if n_chars > 1:
284284
n_vowels = sum(token.count(c) for c in VOWELS_Y)

0 commit comments

Comments
 (0)