Questions tagged [pyspellchecker]

9 questions
1
vote
1 answer

unable a install pyspellcheck module on Linux(Raspbian)

so I am working on Linux(Raspbian) and I am unable to install the pyspellcheck module. so previously I managed to install it by just pip install pyspellcheck but recently I had to factory reset my machine and I am not able to install pyspellcheck…
Yash
  • 13
  • 4
0
votes
0 answers

Gingerit vs PySpellChecker

what's the difference between Gingerit and pyspellchecker and what are their advantages and disadvantages? Gingerit example: from gingerit.gingerit import GingerIt text = "Hello world!" corrected_text =…
maygon
  • 57
  • 18
0
votes
1 answer

Python workflow returns ModuleNotFoundError: No module named 'indexer' when it once worked fine

I have a Python workflow that reads local folders, uploads pix to google cloud for processing, and returns json files back to other local folders. This workflow worked fine. I used this script: #!/bin/bash # Create and activate a Python…
0
votes
0 answers

trying to figure out why my code thinks the correct word is wrong the second time i enter into the text box

# i have already imported all necessary libraries and it is randomly choosing a word word_list = r.get_random_word() chosen_one = word_list input_rect = pygame.Rect(200, 200, 140, 32) base_font = pygame.font.Font(None, 32) user_text = "" user_words…
chaim
  • 1
  • 3
0
votes
0 answers

cant figure out logic for checking(using pyspellchecker) if a word is a word do one thing and if not do another using python

from spellchecker import SpellChecker spell = SpellChecker() user_words = "" check_spelling = spell.unknown(user_words) if event.type == pygame.KEYDOWN: if event.key == pygame.K_RETURN: user_text = "" if…
chaim
  • 1
  • 3
0
votes
0 answers

PyQt5 QWebEngineView [How to enable spell-checking and correct spelling suggestions]

I need help with a PyQt5 tool I created to view and work with a Zendesk form that has a rich text edit widget. My code is quite big, so the code below pretty much does the same as mine. I need help making the tool recognize the incorrectly spelt…
0
votes
1 answer

Is there a way to identify and create a list of all acronyms in a dataframe?

I have a dataframe with a column that has many acronyms in it. I would like to simply (a) identify all acronyms in each cell on the next column and (b) produce a list of all unique acronyms found (not duplicates). I would like to simply use…
0
votes
0 answers

Why is pyspellchecker returning the same word for both the unknown/misspelled word and its correction?

I am using pyspellchecker for finding wrong words. It is picking a few words as misspelled. But it suggests the same word as the correction. Why is it doing so? Am I missing anything? Example: from spellchecker import SpellChecker spell =…
-1
votes
2 answers

How to use pyspellchecker to autocorrect spelling errors in a pandas column?

I have the following dataframe: df = pd.DataFrame({'id':[1,2,3],'text':['a foox juumped ovr the gate','teh car wsa bllue','why so srious']}) I would like to generate a new column with the fixed spelling errors using the pyspellchecker library. I…