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

'tuple' object has no attribute 'append' #41

Open
astariul opened this issue Oct 21, 2022 · 0 comments
Open

'tuple' object has no attribute 'append' #41

astariul opened this issue Oct 21, 2022 · 0 comments

Comments

@astariul
Copy link

If I run : h.bulk_suggest(['My', 'email', 'is', '', 'csalas', 'hearst.com', '', 'mailto', 'csalas', 'hearst.com', '.'])

I get the following error :

Traceback (most recent call last):
File "", line 1, in
File "hunspell/hunspell.pyx", line 375, in hunspell.hunspell.HunspellWrap.bulk_suggest
File "hunspell/hunspell.pyx", line 461, in hunspell.hunspell.HunspellWrap.c_bulk_action
File "hunspell/hunspell.pyx", line 567, in hunspell.hunspell.HunspellWrap._bulk_unknown_words
File "hunspell/hunspell.pyx", line 529, in hunspell.hunspell.HunspellWrap._parse_bulk_results
AttributeError: 'tuple' object has no attribute 'append'


I don't know why I have this error, because if I run with another example with an empty word, there is no problem :

h.bulk_suggest(['This', 'is', 'scary', '', 'and', 'I', 'hope', 'you\'re', 'doing', 'okay.'])

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

1 participant