Questions tagged [aspell]

GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker.

From aspell.net:

GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker. Its main feature is that it does a superior job of suggesting possible replacements for a misspelled word than just about any other spell checker out there for the English language. Unlike Ispell, Aspell can also easily check documents in UTF-8 without having to use a special dictionary. Aspell will also do its best to respect the current locale setting. Other advantages over Ispell include support for using multiple dictionaries at once and intelligently handling personal dictionaries when more than one Aspell process is open at once.

154 questions
8
votes
2 answers

.dic line format definition

I am currently investigating the most appropriate dictionary to use in an application I am building. Inspecting the dictionaries which are bundled with Sublime Text 2, the file format is as you would expect - a list of alphabetically ordered words.…
johnpaulhayes
  • 543
  • 6
  • 10
8
votes
2 answers

How to define aspell word delimiters?

Aspell considers words with underscores or dashes as two, e.g. cloud-based is spell checked as "cloud" and "based". Is there any way to specify the word delimiters so as to exclude dash and underscore?
mart1n
  • 5,969
  • 5
  • 46
  • 83
7
votes
1 answer

Aspell 0.6 for Windows

I am looking for the Win32 binary version of Aspell 0.6. I am under the impression that the LyX Project maintained a Windows fork of Aspell (at least until v. 1.4), but I have not been able to find a version of it anywhere.
Martin Wiboe
  • 2,119
  • 2
  • 28
  • 50
7
votes
3 answers

How to efficiently find small typos in source code files?

I would like to recursively search a large code base (mostly python, HTML and javascript) for typos in comments, strings and also variable/method/class names. Strong preference for something that runs in a terminal. The problem is that spell…
djangonaut
  • 7,233
  • 5
  • 37
  • 52
7
votes
1 answer

Best open-source spell-checker for OCR?

I have a large number of English OCRed documents from the 19th century and want to clean up some of the OCR errors by using a contextual spell-checker such as the one proposed by Peter Norvig at http://norvig.com/spell-correct.html. My main goal is…
Asterix
  • 171
  • 1
  • 5
6
votes
5 answers

Can aspell output line number and not offset in pipe mode?

Can aspell output line number and not offset in pipe mode for html and xml files? I can't read the file line by line because in this case aspell can't identify closed tag (if tag situated on the next line).
MaXal
  • 841
  • 2
  • 8
  • 23
6
votes
1 answer

How to remove a word from Aspell's British dictionary

When I check my texts with aspell (with the British dictionary), the word "froward" is accepted (because it is a real English word). However I never use it, so in my texts "froward" is always a misspelling of "forward". Therefore I want aspell to…
halloleo
  • 9,216
  • 13
  • 64
  • 122
6
votes
3 answers

How to use special chars on aspell custom dictionary?

I'm building a "did you mean" funcionality on an internal search engine, using aspell and php (php-pspell). I have a catalog of products and I want the names of those products to be also words in the dictionary so the "did you mean" can…
Felipe Ribeiro
  • 354
  • 1
  • 5
5
votes
3 answers

What's a Good package for Phonetic Representation for Various Human Languages?

I'm currently working on a project for which I think being able to come up with phonetic representations of words in various languages would be really helpful. I know Aspell does this pretty well, but I don't think there's a very easy way to get at…
Eli
  • 36,793
  • 40
  • 144
  • 207
5
votes
0 answers

pyenchant broker with only Hspell provider [], no Aspell provider

I installed pyenchant (Ubuntu 17.0, Spyder 3.2.4, Python 3.6.1 64bits) using pip install pyenchant When I am executing import enchant b = enchant.Broker() print(b.describe()) I am getting [] I was able to find out that…
5
votes
1 answer

Using Pyenchant on AWS Lambda, can load package but not provider dictionaries, have compiled from source on EC2 and extracted .so files

I am trying to use the Python spellchecking library Pyenchant in a Lambda function on AWS. Pyenchant is a wrapper for the C libenchant library which in turn relies on word dictionaries from providers such as Aspell. In my python code running on…
dataHead
  • 61
  • 4
5
votes
1 answer

How to use Unicode in aspell dictionary?

I'm trying to use aspell to check spelling in my text. I have a custom dictionary with exceptions. They are all in ASCII, but one word is in Unicode (foo.en.pws): personal_ws-1.1 en 554 Foo bar Bárbara Then, I run: cat x.txt | aspell -a…
yegor256
  • 102,010
  • 123
  • 446
  • 597
4
votes
2 answers

Spell checking - Ignore set of words

I am doing bash script to check spelling on number of files. I came across to problem of telling aspell to ignore some set of words that I allow to appear. This is same as "Ignore All" in interactive mode. But that will not work as I would need to…
Gadolin
  • 2,636
  • 3
  • 28
  • 33
4
votes
1 answer

aspell-python installation error

I am trying to install aspell-python package for spell correction. Facing problem while installing the package. Error : python setup.py install running install running build running build_ext building 'aspell' extension gcc -pthread…
iNikkz
  • 3,729
  • 5
  • 29
  • 59
4
votes
1 answer

Where is the aspell private dictionary on Mac

I am using emacs on Mac Os X and I installed aspell with homebrew. I accidentally added a wrong word to my "private dictionary", but where is that dictionary? How can I open it and see what I have added in there? I found a similar question here…
LWZ
  • 11,670
  • 22
  • 61
  • 79
1
2
3
10 11