Questions tagged [pyenchant]

Python bindings for the Enchant spellchecking system

The pyenchant package provides a set of Python language bindings for the Enchant spellchecking library (also see tag ).

126 questions
0
votes
1 answer

How to check to see if a string is contained in any english word?

Going off of this link: How to check if a word is an English word with Python? Is there any way to see (in python) if a string of letters is contained in any word in the English language? For example, fun(wat) would return true since "water" is a…
user7532121
0
votes
1 answer

can't import enchant using a Jupyter notebook

I running Python 2.7 . I'm on OSX Yosemite. I just installed pyenchant via: pip install enchant as per the instructions. On the terminal, I can import the module and run the example. On a Jupyter notebook, I can't import the module: …
Monica Heddneck
  • 2,973
  • 10
  • 55
  • 89
0
votes
1 answer

Error in PyEnchant when certain letter/numbers are used

PyEnchant seems to have weird behavior on certain letter/number combinations: >>> import enchant >>> d=enchant.Dict("en_US") >>> d.add("def") >>> d.add("abc") >>> d.suggest("P92") ** (python.exe:15036): CRITICAL **: enchant_is_all_caps: assertion…
Marc Meketon
  • 2,463
  • 1
  • 24
  • 21
0
votes
1 answer

Spell Checking a column in Python/Pandas/PyEnchant

I'm trying to use Pyenchant to spell check each entry in a column called pets in a pandas dataframe called house. import enchant dict = enchant.Dict("en_US") for pets in house: [pets] = dict.suggest([pets])[0] When I run this code, I get an…
CaptainBear
  • 167
  • 3
  • 12
0
votes
1 answer

PyEnchant installation issues

I'm trying to install PyEnchant, but when I write: pip install pyenchant in terminal I get: -bash: pip: command not found I have looked into installing PyEnchant with a wheel as well but I get the same error. How do I install PyEnchant?
Funjando
  • 45
  • 1
  • 6
0
votes
1 answer

Error in Installing PyEnchant package on Windows-7 (64bit) for spelling check

I'm using Windows-7, 64 bit PC. I want to perform spelling check for a text, using python. I tried to install PyEnchant package using "pip install pyenchant" command. It gets installed. but when I try to import enchant in ipython console, it gives…
Karthik M
  • 1
  • 3
0
votes
1 answer

pyenchant suggests for numbers

This seems like the suggestion is wrong: >>> f= enchant.request_dict("en_US") >>> f.check('50') False >>> f.suggest('50') ['W', 'Y', 'w', 'y', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U',…
A.D
  • 1,480
  • 2
  • 18
  • 33
0
votes
1 answer

PyEnchant with Python 3.4 64 bit on mac?

Is it possible to install PyEnchant 1.6.x with Python 3.4.x 64 bit on a mac? When trying to install PyEnchant with pip install, it is installed within the 2.7 version so far. Did anyone try to use it with version 3.4?
Pille
  • 1,123
  • 4
  • 16
  • 38
0
votes
1 answer

Installing Enchant Library + PyEnchant

I'm currently trying to install the Enchant library in order to use it with PyEnchant for a project I'm working on. I've checked out the source from the official SVN repo and found a document instructing me how to correctly build the source into a…
TOFFster
  • 53
  • 3
  • 9
0
votes
1 answer

pyenchant RPM for alt-install of python2.6. ELF class error

I know what my problem is with this issue, but I'm a little confused about how to best go about fixing it. I have a RHEL 5.4 system, with Python2.6 alt-installed (via the geekymedia RPMS). everything seems to be working. As I tweak a spec file,…
jduncan
  • 677
  • 2
  • 12
  • 22
0
votes
2 answers

Error while importing enchant from pyenchant on windows

I have installed pyenchant on my system, but when I run "import enchant" command, I get an error telling me "The enchant 'C' library was not found". I have tried installing Abiword word processor to install enchant separately, so to speak. But still…
Mancunia89
  • 295
  • 1
  • 6
  • 16
0
votes
0 answers

Trying to program a counter for misspelled words with PyEnchant in Python

I am trying to produce a counter that will tell me how many words are wrong in an essay. I want to add one to counter if check is returned false. Here is what I have EDIT: Essay is a list of words. I took an essay, took out punctuation, made…
0
votes
1 answer

TinyMCE Spellchecker in Pylons

I've been trying to get the TinyMCE spellchecker working with my Pylons app. My first problem is actually capturing the post data in the first place. Firebug tells me that the following is being…
illuminatedtiger
  • 1,531
  • 3
  • 12
  • 8
0
votes
1 answer

Looking for dictionary words in text file using dictionary in python

I read the how to check dictionary words And I got the idea to check my text file using dictionaries. I have read the pyenchant instructions, and I thought that if I use get_tokenizer to give me back all the dictionary words in the text file. So…
danipolo
  • 23
  • 1
  • 5
0
votes
1 answer

Check if collection of words (pyenchant)

I want to check if a string in Python is a collection of words using PyEnchant. For example, I want to somehow check a concatenated string is a word or not: eng = enchant.Dict("en_US") eng.check("Applebanana") I know this will return false, but I…
taesu
  • 4,482
  • 4
  • 23
  • 41
1 2 3
8
9