Skip to content
Advertisement

Tag: spell-checking

Returns an empty list instead of bigrams

The code mentioned below returns the expected output. [(‘the’, 23135851162), (‘of’, 13151942776), (‘and’, 12997637966), (‘to’, 12136980858), (‘a’, 9081174698)] But the next block of code returns an empty list. The expected output is: [(‘abcs of’, 10956800), (‘aaron and’, 10721728), (‘abbott and’, 7861376), (‘abbreviations and’, 13518272), (‘aberdeen and’, 7347776)] as per this page: https://symspellpy.readthedocs.io/en/latest/examples/dictionary.html I will like to know the mistake that

Advertisement