Closed manestay closed 6 years ago
Thanks for bringing this to my attention. I thought I had lowercased all the words in the dataset but apparently I missed that. I will lowercase the dataset and get a new release out this week
I released 0.5.0 which should solve this @manestay
Great! Thanks a lot.
Description
Words such as 'Ohio' and 'Norway' exist in dict returned from load_dict(). However, when you call syllapy.count('Ohio'), the count() function converts it to lowercase, so it is not found in the dictionary, and 2 is returned instead of the value of 3 in the dict.