Skip to content

With Korean dictionary, I got random results #28

Description

@hyunwoongko

you can get dictionary here.
https://github.com/spellcheck-ko/hunspell-dict-ko/releases/download/0.7.94/ko-aff-dic-0.7.94.zip

I changed name of dictionary to 'ko_KR' from 'ko'.

from spylls.hunspell import Dictionary

dic = Dictionary.from_files('ko_KR')
word = "가방"
print(dic.lookup(word))    

This code returns True sometimes, and it also returns False sometimes.
Please run this code 20 times, then you can see same results with me.
I don't understand why this happens. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions