Questions tagged [spell-checking]

Flagging words in a document that may not be spelled correctly.

In computing, a spell checker (or spell check) is an application program that flags words in a document that may not be spelled correctly. Spell checkers may be stand-alone, capable of operating on a block of text, or as part of a larger application like the following:

1435 questions
-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…
-1
votes
1 answer

Creating an object in Python from multiple classes

I am creating a spellchecker where I will accept an input word and then produce a list of words with an edit distance of 1 while checking if these words can be found in the ternary tree I will create. This tree will be made using a list of valid…
-1
votes
1 answer

Regex to avoid all words between {{ and }}

I am using https://github.com/tbroadley/spellchecker-cli. I have a JSON file that I'd like to run spellChecker on and it looks like this: { "abc.editGroupsMaxLengthError": "Maximum {{charLen}} characters" } I would like to know how can all words…
systemdebt
  • 4,589
  • 10
  • 55
  • 116
-1
votes
1 answer

How to implement multiprocessing on a specific function?

I am new to this multiprocessing concept. I am trying to implement multiprocessing to a spelling function to make it run faster. I tried as below but did not get results in previous order, token here is the huge list of tokenized sentences. from…
-1
votes
1 answer

How to ignore spell check for specific language in sublime 3

Here is my settings "dictionary": "Packages/Language - English/en_US.dic", "spell_check": true, and it checks every languages. it bothers me.
user3024034
  • 117
  • 2
  • 4
-1
votes
1 answer

Why does the hash function give a segmentation fault?

I was trying to make a spell checker program where I first have to load a dictionary into memory. To do so, I tried using a hash table. The program shows a segmentation fault when I use the hash function for the hash table. // Implements a…
-1
votes
1 answer

Spellcheck datagrid cells

I would like to know how to use spellcheck each cell of a datagrid dynamically (not in xaml but in cs) I've already tried something like this, but it doesn't work. public static void SpellCheck(System.Windows.Controls.DataGrid MyDataGrid) { …
gigi23
  • 1
  • 2
-1
votes
2 answers

Java Swing Spell Checker

I have a quick question about implementing my SpellChecker into my Swing Text Editor. I tried to search around but couldn't find anything on how to get the red squiggly line under misspelled words. Is there something I could import then call on…
Patrick
  • 21
  • 5
-1
votes
1 answer

How to efficiently use spell correction for a large text corpus in Python

Consider the following for spell-correction: from autocorrect import spell import re WORD = re.compile(r'\w+') def reTokenize(doc): tokens = WORD.findall(doc) return tokens text = ["Hi, welcmoe to speling.","This is jsut an exapmle, but…
Sam S.
  • 627
  • 1
  • 7
  • 23
-1
votes
1 answer

Java reading from file "exception in thread 'main'" error

I have an assignment due for university regarding a spellchecker program that uses a dictionary text file provided to us with one word a line for a couple hundred words. I have thus been experimenting with self made simple reading files(chinese.txt)…
-1
votes
1 answer

how to correct wrong or shortened written words

I have to fix a problem related to a large number of user generated skills. Users can put any skills on their profiles and i want to merge the ones that are the same: I have this pairs (among others): React, React Js, React.js, reactjs MS Office,…
Razvan
  • 710
  • 3
  • 9
  • 25
-1
votes
1 answer

How can i remove or correct the spelling mistakes in excel file or text file using nltk or python

Actually i have a excel file and i have to correct the spelling of words in each column of that file. I have also a tab delimited file i want also correct theirs spells. Gramerly correction.
A.B
  • 3
  • 1
-1
votes
1 answer

Is there a character that can be used as a delimiter for EOF?

I wrote a function that spellchecks a line read from a file which takes in a file stream and a delimiter as parameters. My problem is that the function requires a delimiter, but when reading in the last line, I haven't got one. I would use the last…
-1
votes
3 answers

Disable spellcheck and autocomplete globally in a HTML document?

It's possible to disable spellcheck or autocomplete on individual input elements by adding the tags spellcheck="false" or autocomplete="off" to that element. But for those who would like to disable it globally across the entire DOM, is there a way…
sookie
  • 2,437
  • 3
  • 29
  • 48
-1
votes
1 answer

checking apostrophe in trie data structure

I have a dictionary file(containing words only lower case and apostrophe) that is loaded as a trie tree. I have a check function which checks the words of file if they exist in the trie tree, regardless of letters cases. Everything works fine except…
Yasser Altamimi
  • 429
  • 5
  • 13