Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Oct 25, 2024
1 parent 35fb956 commit be57a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion probablepeople/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def tokenFeatures(token: str) -> Feature:
return features


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

0 comments on commit be57a0b

Please sign in to comment.