Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grave accent (again) #19

Closed
gregorycrane opened this issue Jun 15, 2020 · 1 comment
Closed

Grave accent (again) #19

gregorycrane opened this issue Jun 15, 2020 · 1 comment

Comments

@gregorycrane
Copy link

I am getting error messages when I try to ask for the accent on a word with a grave accent.

from greek_accentuation.characters import *
from greek_accentuation.syllabify import *
from greek_accentuation.accentuation import *
display_accentuation(get_accentuation(('τὴν')))
Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/greek_accentuation/accentuation.py", line 68, in display_accentuation
return accentuation.name.lower()
AttributeError: 'NoneType' object has no attribute 'name'

@jtauber
Copy link
Owner

jtauber commented Jun 16, 2020

Remember that the point of get_accentuation is to tell you the type of word accentuation (e.g. "oxytone") of a normalized word in isolation. See my comments on #17

@jtauber jtauber closed this as completed Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants