Questions tagged [spelling]

For questions regarding the implementation of spell-checking mechanisms.

1
vote
0answers
3 views

How does Solr's spellcheck.collate influence performance?

The Solr documentation on spellchecking parameters states (emphasis mine): spellcheck.collate If true, this parameter directs Solr to take the best suggestion for each token (if one exists) ...
0
votes
1answer
25 views

Spelling correction in sentences

I use https://norvig.com/spell-correct.html to find spelling errors How to find and replace misspelt words in a sentence. Efforts so far: sentences = "This sntence cntins errors. This sentence has ...
-9
votes
3answers
52 views

print in python using python3 without python2 and python1 or both at the same time? [closed]

I've tried prynt(xd) prihnt(?O) but none of them work: prrrrrrint(xd) prrrrrrint(xd) prrrrrrint(xd) prrrrrrint(xd) prrrrrrint(xd) prrrrrrint(xd)
0
votes
1answer
22 views

Python Spelling replacement packages, how to add words to dictionary?

I have trialled a number of options for a quick spelling replacer, namely autocorrect, spellchecker and textblob. However, I have some words that are being altered as they are not in the dictionary, ...
0
votes
1answer
42 views

Using Scanner object for spell checking as a newbie

Scanner kb = new Scanner(System.in); String plt; String msr; double wgh; System.out.println("'Welcome to interplanetary weight calculator."); Thread.sleep(2500); System.out.println(""); System....
0
votes
0answers
37 views

VS Code Autocorrect

I'm looking for a way to automatically replace my commonly misspelt words in VS Code. Is there something out there / how would I create something where I can add a particular string to find, string ...
0
votes
0answers
41 views

How to Suppress “Too Many Spell Errors” in Word Automation?

I am using Visual C++ to Automate Word and make it invisible. However, when adding some texts to a Word document, I will see a “Too many spelling errors” message box. I try to set DisplayAlerts to ...
1
vote
0answers
46 views

How do I reuse a Hunspell dictionary after adding my own set of words in python3? (Already tried pickling)

I am using Hunspell with python3 for spell correction. I have added some more specific words and now I want to save the newly formed dictionary. I tried pickling it but I get the following error: ...
0
votes
1answer
39 views

Export misspelled words

After searching I came across this to highlight misspelled words in cells in excel, however I want to copy any misspelled word found to a different worksheet and list them all out in a column. I ...
0
votes
1answer
40 views

Spellchecking/matching Google Vision OCR results

I am currently working on a project where I detect books in a bookshelf, and apply OCR on each book to read whatever is written on the side. Currently, I am using Google Vision for getting the text ...
2
votes
2answers
68 views

How to account for variation in spelling (especially for slang) for Word Embeddings/Word2Vec generation using song lyrics?

So I am working on a artist classification project that utilizes hip hop lyrics from genius.com. The problem is these lyrics are user generated, so the same word can be spelled in various different ...
1
vote
0answers
61 views

Use multiple dictionaries using hunspell in R

I'm observing strange behaviour when I choose different dictionaries in hunspell. I'd like my text to be spell checked in Australian English. but when I choose "en_AU" dictionary i get additional ...
0
votes
0answers
74 views

ngram character based spell checking

I was developing the n gram spell check as per the mentioned example . Although the algorithmic approach will be as follows: Consider 2 strings “statistics” and “statistical”. If n is set to 2 (bi-...
0
votes
0answers
57 views

spell checking Python and NLP

I want to develop spell checking application .I am referring some sort of papers on spell checking using NLP. Problem specification: I have a OCR processed text files from Image for which i want to ...
1
vote
0answers
38 views

How to create a English Spell Checker and get suggestions accordingly?

I want to develop an app which checks the spellings when an user is writing in an edittext with a red mark for wrong spelling and give suggestions accordingly.I tried this code but not working on ...
0
votes
1answer
54 views

Why have I more spelling errors (CA1704 rule) in VSTS?

I forced Code Analysis execution on VSTS (with Hosted2017 agent) to build a VS2017 solution using .NET framework 4.6.1. But I don't have the same spelling errors (CA1704 rule) on VSTS and on my ...
0
votes
1answer
73 views

Multiple Spelling Results in a Dataframe 1

I have some data containing spelling errors. I'm correcting them and scoring how close the spelling is using the following code: import pandas as pd import difflib Li_A = ["potato", "tomato", "...
1
vote
1answer
51 views

Multiple Spelling Results in a Dataframe

I have some data containing spelling errors. I'm correcting them and scoring how close the spelling is using the following code: import pandas as pd import difflib Li_A = ["potato", "tomato", "...
2
votes
1answer
69 views

Apply Spellchecking Function to Dataframe

I have some data containing spelling errors. For example: # Define the correct spellings: Li_A = ["potato", "tomato", "squash", "apple", "pear"] # Define the data that contains spelling errors: B ...
1
vote
2answers
65 views

Java REST response value with missing spelling char

I have REST written in Java and the JSON response message is not valid. I have messages defined in single file messages.properties. I expect that response should be something like that: ...
13
votes
1answer
194 views

Can I configure the dictionary language used by the spellcheck attribute on my form elements?

I need to add the spellcheck attribute to a few <textarea> and <input> elements. My question is: "Is the version of English that spellcheck adheres to configurable?" I'm in Australia and ...
1
vote
0answers
266 views

Attention mechanism in spelling correction model

I'm trying to test attention mechanism in this code (based on the work of MajorTal): def generate_model(output_len, chars=None): """Generate the model""" print('Build model...') chars = ...
0
votes
1answer
34 views

How to compare names with and without orthographic accent in pandas? [duplicate]

In Python 3 and pandas I have a dataframe with full names. My default encoding is utf-8. The names are in the Portuguese language, therefore they have spelling accentuation perfis_deputados.info() &...
0
votes
0answers
50 views

How can I gain access to CSAPI (Microsoft Common Speller API)?

I'm developing an Icelandic spell-checking add-in for Microsoft Office, and I want the add-in to be able to underline incorrectly spelled words as the user types, with wavy underline, and when the ...
0
votes
1answer
27 views

How do I find the output for getstring listed here : https://github.com/moodle/moodle/blob/master/enrol/instances.php

I'm currently working on Moodle to change the spelling of enrol to enroll. I've completed almost every single screen except two places. Here is the code Github. To dig more, I need to know how do I ...
0
votes
0answers
30 views

Cursor position reset after spell check in Angular spelling module

I am trying to implement spellcheck in a text box using the Spelling module. It works almost fine. But I face an issue when I try to modify a word typed earlier The word does get updated(spellchecked)...
0
votes
1answer
273 views

Spell Checker in Pandas

I'm trying to implement Peter Norvig's spell checker in a pandas class with words pulled from a SQL database. The data contains user queries which often contains a number of spelling errors, and I'm ...
0
votes
2answers
722 views

Spellcheck is not working in Chrome

I'm trying to use this markdown editor https://simplemde.com/, but in Chrome (other browsers as well) auto spell check is not working inside the editor area. I have tried to add spell check and ...
0
votes
1answer
21 views

Static spell checking behavior

I am trying to implement behavior similar to spell check, however not exactly same. By static, I mean only on certain words. So let's say I have an array of 10 strings. String[] originalWords = new ...
3
votes
1answer
368 views

Peter Norvig's word segmentation issue: how can I segment words with misspellings inside?

I'm trying to understand, how does Peter Norvig's spelling corrector work. On his jupyter-notebook title here he explains, how to segment a sequence of characters without spaces separating words. It ...
3
votes
0answers
748 views

Autocorrecting all misspelled text data in R

So I have been searching for a long time on methods to correct typos in text in R, without manually adding/replacing words. I have data in text format that is the patients' complaints in an emergency ...
0
votes
1answer
251 views

In spell checker how to get the word that are 3 edits away(norvig)

I have been trying to use spell corrector for my database table to correct the address from one table, for which I have used the reference of http://norvig.com/spell-correct.html Using the ...
0
votes
1answer
53 views

Correcting Business name misspellings in R

I have come up with a unique problem. Currently, there are multiple ways to spellcheck and correct misspelled words, usually through the use of a dictionary or phonetics via a dictionary. However, ...
0
votes
1answer
33 views

Couldn't find info about creating spellcheck for words with our library in C# [closed]

I couldn't find any info , about creating a spell checker which reads a word from .txt file. I will be glad if you can help with anything.
1
vote
0answers
180 views

Does syntaxnet support spell checking

I collect lots of words for a specific domain, I can train custom model based on the words. In my usage there are lots of hard copy tables/sheets related to the domain, I will OCR those tables/sheets ...
0
votes
1answer
35 views

Spelling check -> Right spelling word add to Listbox/List

The User needs to tell the program, what he wants to have on the pizza, so the program is able to check, if there is a matching pizza in the database. That for I need the ingredients with the right ...
0
votes
1answer
125 views

is there any plugin for spell-checking in SonarQube after version 5.2?

Is there any spell check plugin for SonarQube which can work with current version or 5.6 ? https://github.com/webdizz/sonarqube-spellcheck is unfortunately incompatible since version 5.2 Thanks.
-1
votes
1answer
95 views

Spelling and Grammar checker

Does anybody know of any good tool that checks English spelling and Grammar for a whole website? I have already tried Grammarly and of course the autocorrection tools in the built-in applications
1
vote
1answer
88 views

How to do Norvig spell check for chinese characters mixed with english letters?

I have a list of product names written in mixture of English letters and numbers and Chinese characters stored in my database. There is a table called products with the fields name_en, name_zh ...
3
votes
1answer
49 views

Comparing one data structure against another resulting in run time of over 50 mins

I'm writing code which reads in a text file (each line a tweet) and goes through each tweet comparing it against a list of English words to see if the word is misspelled. So the list of English words ...
6
votes
1answer
676 views

PyCharm spell-checking: how to remove a word (mistakenly) added to the dictionary?

In which dictionary exactly do words added with Right mouse click -> Spelling -> 'Typo: Save 'foo' to dictionary' go? How to remove them from there?
2
votes
1answer
110 views

PyCharm: how to export the pre-defined bundled spelling dictionary

Title says it. I'm interested in exporting to a text-file the english.dic, python.dic, pythonExtras.dic etc., which are bundled with the IDE by default (see screenshot). The related documentation ...
1
vote
1answer
387 views

Compare string to match brand name and remove spelling mistakes

I have a list of texts that contains brand names (Coca-Cola, Pepsi, 7Up ect.). I wrote a python script that sorts and counts all cells that have the same content (the exact same text, after lowercase ...
0
votes
1answer
230 views

Is there any way to add Autocorrect to my Android Keyboard?

I am working on an Android Keyboard, and I was trying to see if there was any way to add in Autocorrect into it. Or is Autocorrect provided with the Spelling Checker Framework? I cannot find a clear ...
0
votes
1answer
828 views

Spelling check in user form in VBA

I want to check spelling in all labels that I have in a user form in VBA. I would appreciate it if anyone could help me.
0
votes
1answer
72 views

Spell correction improvement based on a set of letters with similar forms in PHP

I'm developing a spell corrector system for non-English language which works on OCR output. I use very large dictionaries to check spelling errors and give suggestions. Most of spelling errors are ...
-1
votes
1answer
66 views

how to optimize a search algorithm?

so basically what i mean here is how do i make a search tool(like to search through a series of Strings, perhaps in an array or an arraylist, etc) that would be useful? not necessarily fast, but ...
1
vote
0answers
94 views

How do I increase performance of PyEnchant for spelling correction?

Consider there is a big list of words and PyEnchant spelling correction has to be performed on every single word in this list. I use a custom dictionary for spelling correction which gets updated over ...
2
votes
1answer
281 views

What are some evaluations for a spelling correction model?

I've been looking into spelling correction models and I'm trying to find some evaluation metrics. If you consider false negatives to be trying to fix an already correct word and false positives to be ...
0
votes
1answer
118 views

How do I check for typos in a user submitted domain name?

Basically, I'm trying to automatically correct user submitted emails with typos that are only a few letters off. For instance, if a user accidentally submits gamil.com or gmial.com instead of gmail....