Most Linux distributions contain a dictionary file, along with a aspell tool that is useful for spell checking1, the directory/usr/share/dict/contains some dictionary files, "dictionary file" is a dictionary word list contains a text file, you can
Aspell_new: Load a new dictionary.
Aspell_check: Check a word.
Aspell_check-raw: Check a word, even if misspelled, does not change or correct.
Aspell_suggest: Check a word and provide spelling advice.
Aspell_new
Load a new dictionary.
Syntax: int
Before using this function, you need to go to Http://metalab.unc.edu/kevina/aspell to retrieve the required spelling checker library Aspell.
Aspell_new: Load a new dictionary.Aspell_check: Check a word.Aspell_check-raw: Check a word, even if
Linux command line dictionary I used ubuntu12.04, used for downloading offline can be used normally. 1, install sdcvC code # sudoapt-getinstallsdcv2, install Dictionary dictionary http://dl.iteye.com/topics/download/2863e5a5-f730-362e-b413-... linux
Linux Command Line dictionary I used ubuntu12.04, used for downloading offline can be used normally. 1, install sdcvC Code # sudo apt-get install sdcv 2, install dictionary http://dl.iteye.com/topics/download/2863e5a5-f730-362e-b413-3169f4a8e24c to
Python implements word spelling check and python word spelling check
In the past few days, I found many spelling mistakes in the comments I wrote in the previous Code. These mistakes are not outrageous. I should be able to use tools to automatically
The past few days in the old code to find that the previous written comment section has a lot of misspelled words, these words are not ridiculous, you should be able to use tools to automatically correct most of the error. It's easy to write a
This article mainly introduces how to implement the word spelling check in Python. This article describes some knowledge about the word spelling check and provides two implementation methods, for more information, see the previous days. when I
The past few days in the old code found that the previous written annotation part of many words spelling mistakes, these words are not outrageous, should be able to use tools to automatically correct the vast majority. It's easy to write a spelling
Some problems have been plaguing us during the use of Python spelling checks. In fact, only continuous learning can make better use of this language. In the past few days, I found many spelling mistakes in the comments I wrote in the previous Code.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.