mseal / cython_hunspell Goto Github PK
View Code? Open in Web Editor NEWThis project forked from opengov/cython_hunspell
Cython wrapper on Hunspell Dictionary
License: Other
This project forked from opengov/cython_hunspell
Cython wrapper on Hunspell Dictionary
License: Other
I tried to install the current version of CyHunspell (1.3.4). pip install cyhunspell
first fails with "package hunspell was not found in the pkg-config search path". When I add it to the path, it fails again because it cannot find 'hunspell/hunspell.hxx' in the include path.
The following command works OK as a workaround:
PKG_CONFIG_PATH=/opt/homebrew/Cellar/hunspell/1.7.0_2/lib/pkgconfig pip install --global-option=build_ext --global-option="-I/opt/homebrew/Cellar/hunspell/1.7.0_2/include" cyhunspell
Details of my configuration and the error messages follow.
My configuration:
First error message (pkg-config):
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /opt/homebrew/Caskroom/miniforge/base/bin/python3.10 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/49/858b60c08xl87j008k8x2shh0000gn/T/pip-install-1msosrr7/cyhunspell_651d3396f3c745008b2f22388a0bfd1e/setup.py'"'"'; __file__='"'"'/private/var/folders/49/858b60c08xl87j008k8x2shh0000gn/T/pip-install-1msosrr7/cyhunspell_651d3396f3c745008b2f22388a0bfd1e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/49/858b60c08xl87j008k8x2shh0000gn/T/pip-pip-egg-info-x6wlvww7
cwd: /private/var/folders/49/858b60c08xl87j008k8x2shh0000gn/T/pip-install-1msosrr7/cyhunspell_651d3396f3c745008b2f22388a0bfd1e/
Complete output (1289 lines):
...
./install-sh -c -d '/private/var/folders/49/858b60c08xl87j008k8x2shh0000gn/T/pip-install-1msosrr7/cyhunspell_ec8a410d2e92487187afdf9db199bbb7/libs/tmp/lib/pkgconfig'
/usr/bin/install -c -m 644 hunspell.pc '/private/var/folders/49/858b60c08xl87j008k8x2shh0000gn/T/pip-install-1msosrr7/cyhunspell_ec8a410d2e92487187afdf9db199bbb7/libs/tmp/lib/pkgconfig'
Traceback (most recent call last):
File "/private/var/folders/49/858b60c08xl87j008k8x2shh0000gn/T/pip-install-1msosrr7/cyhunspell_ec8a410d2e92487187afdf9db199bbb7/find_library.py", line 226, in pkgconfig
raise RuntimeError(response)
RuntimeError: Package hunspell was not found in the pkg-config search path.
Perhaps you should add the directory containing `hunspell.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hunspell' found
Second error message (include):
hunspell/hunspell.cpp:633:10: fatal error: 'hunspell/hunspell.hxx' file not found
The library fails to process some unicode characters:
>>> from hunspell import Hunspell
>>> h = Hunspell()
>>> h.suggest("Ω")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "hunspell/hunspell.pyx", line 223, in hunspell.hunspell.HunspellWrap.suggest
return self.action('suggest', word)
File "hunspell/hunspell.pyx", line 246, in hunspell.hunspell.HunspellWrap.action
copy_to_c_string(word, &c_word, self._dic_encoding)
File "hunspell/hunspell.pyx", line 41, in hunspell.hunspell.copy_to_c_string
return byte_to_c_string(<bytes>py_string.encode(encoding, 'strict'), holder, encoding)
UnicodeEncodeError: 'latin-1' codec can't encode character '\u03a9' in position 0: ordinal not in range(256)
>>> h._system_encoding
'UTF-8'
>>> h._dic_encoding
'ISO8859-1'
>>>
The problem seems to be the _dic_encoding
I got the following exception after frozen my program with cx_Freeze on Linux Mint 19.1 64bit
root@pc:/home/i/下载/EngkuDict/build/exe.linux-x86_64-3.6# '/home/i/下载/EngkuDict/build/exe.linux-x86_64-3.6/EngkuDict'
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/cx_Freeze-6.0b1-py3.6-linux-x86_64.egg/cx_Freeze/initscripts/__startup__.py", line 14, in run
module.run()
File "/usr/local/lib/python3.6/dist-packages/cx_Freeze-6.0b1-py3.6-linux-x86_64.egg/cx_Freeze/initscripts/Console.py", line 26, in run
exec(code, m.__dict__)
File "EngkuDict.py", line 7, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
File "/home/i/下载/EngkuDict/ConfigWindow.py", line 5, in <module>
import Utils
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
File "/home/i/下载/EngkuDict/Utils.py", line 41, in <module>
hunSpell = Hunspell() # Hunspell('en_CA') ; Hunspell('en_GB-large', hunspell_data_dir='/custom/dicts/dir')
File "hunspell/hunspell.pyx", line 128, in hunspell.hunspell.HunspellWrap.__init__
File "hunspell/hunspell.pyx", line 110, in hunspell.hunspell.HunspellWrap._create_hspell_inst
File "hunspell/hunspell.pyx", line 26, in hunspell.hunspell.copy_to_c_string
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 8-13: surrogates not allowed
root@pc:/home/i/下载/EngkuDict/build/exe.linux-x86_64-3.6#
I don't see any install instructions on the README;
https://github.com/chrisjbryant/lmgec-lite
suggests using pip install -U CyHunspell
When I do so, I get:
RuntimeError: Package hunspell was not found in the pkg-config search path.
Perhaps you should add the directory containing `hunspell.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hunspell' found
The instructions indicate hunspell will automatically be installed and setup so this shouldn't happen. To troubleshoot I tried running the command provided but it didn't work. See #3
Finally I tried simply sudo apt-get install hunspell
which worked fine but this setup is still broken.
I will continue to troubleshoot and try setting this environment variable, but ideally the README would provide enough instruction to start using the library.
Hello,
I work with your cyhunspell, I like this but now I want to work with the methode "analyze" that I see in your documentation but when I trie it like this
h.analyze(test)
I have this message:
"hunspell.hunspell.HunspellWrap object has no attribute 'analyze'
Maybe I did something wrong or analyze is not implemented.
I should like have the possibility to do some programmation with cyhunspell and I need now the analyze's method. Can you give me some help ?
Thanks a lot,
Cordialement
Pibol
I not yet certain if the problem is related to my machine's config or related to the fact that I'm trying to install on a Python 3.9 environment, but trying to pip install inside a Python 3.9 environment (Ubuntu 20 machine) gives the following (very long) error output:
Hi Matthew,
I hope you are enjoying your leave and new adventures :-)
This is just a note, not an issue really. I wanted to thank you again for your amazing tool. As you remember, I had a couple of issues with the morphological analysis functions that you kindly added in August. Now, I use your package in the Kurdish Language Processing Toolkit. So, if you enable your dependency graph, it should be detected automatically.
Wishing you all the best.
It appears that just installing CyHunspell is insufficient to get hunspell working on a Mac (10.13.6 - High Sierra). However, if I install hunspell (currently 1.7.0) using Homebrew it almost works. At this point, the error I get is:
ImportError: dlopen(…/venv/lib/python3.7/site-packages/hunspell/hunspell.cpython-37m-darwin.so, 2): Library not loaded: /usr/local/opt/hunspell/lib/libhunspell-1.6.0.dylib
If I go to the </usr/local/opt/hunspell/lib/> directory and issue the command:
ln -s libhunspell-1.7.0.dylib libhunspell-1.6.0.dylib
This library can be successfully used from python.
Is this a problem with the linking in the Homebrew formula or in the Cython binary?
During building EXE for Windows with PyInstaller, there's an error showing up. hunspell.platform() not found.
Prabhat
With the hunspell
command line, we can get suggestions for entire sentences :
echo "i loove this package" | hunspell -d en-US
output :
Hunspell 1.7.0
*
& loove 2 2: love, loose
*
*
How can I achieve the same from python ?
Hi,
The latest version of cyhunspell on pypi.org is version 2.0.2
.
When I install cyhunspell by executing pip install cyhunspell
, version 1.3.4
is downloaded.
When I execute pip install cyhunspell==2.0.1
, I get the following error:
ERROR: Could not find a version that satisfies the requirement cyhunspell==2.0.2 (from versions: 1.0.1, 1.1.0, 1.1.3, 1.1.3.post1, 1.1.4, 1.2.0, 1.2.1, 1.3.0, 1.3.2, 1.3.3, 1.3.4)
ERROR: No matching distribution found for cyhunspell==2.0.2
I tried various different versions of python, but the pulled version is 1.x.
How can I install v2 of the package using pip?
Docker image python:3.8
v3.8.15
pip 22.0.4 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)
By default, it should also look for dictionaries in the system path /usr/share/hunspell
.
pip install CyHunspell doesn't work on windows and but it have worked on kaggle when I have installed , but it doesn't work on windows
There is no source package on pypi which mean that if you want to install this, on, say, aarch64, you can't use PyPI.
$ uname -m
aarch64
$ pip install cyhunspell==2.0.2
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cyhunspell==2.0.2
Could not find a version that satisfies the requirement cyhunspell==2.0.2 (from versions: 1.0.1, 1.1.0, 1.1.3, 1.1.3.post1, 1.1.4, 1.2.0, 1.2.1, 1.3.0, 1.3.2, 1.3.3, 1.3.4)
No matching distribution found for cyhunspell==2.0.2
$
Try using https://github.com/marcelotrevisani/grayskull to see if we can quickly get a conda forge recipe going...
Hello,
I'm using your API for some tests, and it seems to me that the running speed is slow. Also, checking in the System Monitor, it seems to be using 100% of one CPU core. Is that the case? Or maybe I'm doing something wrong.... I'm also using two dictionaries to check against at the same time.
Please build the package for Python 3.10 on PyPi.
As far as I understand cython_hunspell support only part of library functions.
Is it possible to include rest of functions (namely add_dic, add_with_affix, analyze, generate, remove, get_dic_encoding...)?
Hello I have been identifying an error without whilst using bulk_stem with unidentified words.
In hunspell,pyx line 529
ret_dict[unknown_words[i]].append(c_string_to_unicode_no_except(output_array[i][j], self._dic_encoding))
the value ret_dict[unknown_words[i]
is tuple and therefore probably wasn't converted.
Thank you, it would be nice if you would fix it.
In hunspell CLI, it's possible to specify multiple languages : hunspell -d en-US,en-UK
Can we achieve the same with cyhunspell ?
I see there are multiple issues in getting this run on Python 3.10 on macOS.
pip install https://github.com/MSeal/cython_hunspell/archive/refs/tags/2.0.3.tar.gz
autoreconf: running: aclocal --force -I m4
Can't exec "aclocal": No such file or directory at /opt/homebrew/Cellar/autoconf/2.71/share/autoconf/Autom4te/FileUtils.pm line 274.
autoreconf: error: aclocal failed with exit status: 2
I fixed it with:
brew install automake
inc
, any way to get all words starting with inc
in a dictionary ?If I run : h.bulk_suggest(['My', 'email', 'is', '', 'csalas', 'hearst.com', '', 'mailto', 'csalas', 'hearst.com', '.'])
I get the following error :
Traceback (most recent call last):
File "", line 1, in
File "hunspell/hunspell.pyx", line 375, in hunspell.hunspell.HunspellWrap.bulk_suggest
File "hunspell/hunspell.pyx", line 461, in hunspell.hunspell.HunspellWrap.c_bulk_action
File "hunspell/hunspell.pyx", line 567, in hunspell.hunspell.HunspellWrap._bulk_unknown_words
File "hunspell/hunspell.pyx", line 529, in hunspell.hunspell.HunspellWrap._parse_bulk_results
AttributeError: 'tuple' object has no attribute 'append'
I don't know why I have this error, because if I run with another example with an empty word, there is no problem :
h.bulk_suggest(['This', 'is', 'scary', '', 'and', 'I', 'hope', 'you\'re', 'doing', 'okay.'])
Dictionaries can be expensive from a storage point of view in small environments. Compressing them is effective in reducing hunspell's footprint. i performed an experiment to measure the sizes of the default hunspell dictionaries with compression:
orig hz gz
a.dic 10 27 33
en_AU.aff 27375 11314 5388
en_AU.dic 513822 204246 198465
en_CA.aff 1809 1153 498
en_CA.dic 698653 376870 326433
en_GB.aff 27449 11361 5488
en_GB.dic 527337 248352 243114
en_NZ.aff 27908 11492 5635
en_NZ.dic 536528 211648 207171
en_US.aff 3045 2565 991
en_US.dic 696131 253300 246482
en_ZA.aff 27449 11361 5488
en_ZA.dic 590143 246205 260975
test.aff 3037 2537 978
test.dic 696268 253536 246668
total bytes 4376964 1845967 1753807
percentage 100.0% 42.2% 40.1%
100.0% 95.0%
As you can see both hz and gz show significant gains, so i support both of them. I think gzip is particularly valuable as it is ubiquitous and performs well.
I have submitted a PR that implements the necessary change
When following the instructions to install hunspell 1.6 I get the following error message:
$ sudo apt-get install libhunspell-1.6-0 libhunspell-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libhunspell-1.6-0
E: Couldn't find any package by glob 'libhunspell-1.6-0'
E: Couldn't find any package by regex 'libhunspell-1.6-0'
Arch Linux, Python 3.9.4.
$ pip install cyhunspell --no-cache-dir
$ ipython
>>> import hunspell
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-0167fd0a22bb> in <module>
----> 1 import hunspell
~/.pyenv/versions/day2day39/lib/python3.9/site-packages/hunspell/__init__.py in <module>
2
3 from ._version import __version__ # noqa: F401
----> 4 from .hunspell import HunspellWrap as Hunspell, HunspellFilePathError # noqa: F401
ImportError: /home/sorenwh/.pyenv/versions/day2day39/lib/python3.9/site-packages/hunspell/hunspell.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZN8Hunspell6removeERKSs
Hi,
I had installed CyHunspell on my Windows 7.0 before, tested and worked with Python 3.6.
After 8-9 months, when I wanted to make a modification with a fresh installation, it refused to work and kept asking for MSVC++14 again and again. I couldn't figure out the reason.
After investigation, I realised I had changed to Python 3.7 and the latest MSVC++ (2015-2019) was loaded, perhaps due to the latest Visual Studio Code.
I uninstalled and installed MSVC++2015 and Python 3.6.5 but CyHunspell refuses to install on my Windows 7, SP1, 64bit machine.
Please advise.
Note : It works fine on Ubuntu 18.4
Regards
Prabhat
Hi,
Tried to install on Windows 10 with Python 3.7 and Pip 18.1. It does not install. Kindly look into it.
Regards
Prabhat
Hi
My windows is: Windows 10 Pro (1909)
Python version is: 3.9.2
I installed the cyhunspell (pip install cyhunspell), after that i created a simple test.py script file with this contain (which is in the example):
from hunspell import Hunspell
h = Hunspell()
print(h.spell('correct')) # True
print(h.spell('incorect')) # False
It is worked:
E:\Novel\py\t>python test.py
True
False
But after that when i tried to create a standalone app with the pyinstaller (E:\Novel\py\t>pyinstaller test.py) and run the exe file from the dist folder (E:\Novel\py\t\dist\test>test.exe) i got this error:
Traceback (most recent call last):
File "\\VBoxSvr\DEV\Novel\py\t\test.py", line 1, in <module>
from hunspell import Hunspell
File "PyInstaller\loader\pyimod03_importers.py", line 531, in exec_module
File "hunspell\__init__.py", line 4, in <module>
File "hunspell/hunspell.pyx", line 3, in init hunspell.hunspell
ModuleNotFoundError: No module named 'hunspell.platform'
[2992] Failed to execute script test
What did i do wrong? I tested the pyinstaller with the PyQt or other modules they are work well, just this module (cyhunspell) give me error.
The details when i use the pyinstaller these:
E:\Novel\py\t>pyinstaller test.py
68 INFO: PyInstaller: 4.2
69 INFO: Python: 3.9.2
69 INFO: Platform: Windows-10-10.0.18362-SP0
72 INFO: wrote E:\Novel\py\t\test.spec
75 INFO: UPX is not available.
81 INFO: Extending PYTHONPATH with paths
['E:\\Novel\\py\\t', 'E:\\Novel\\py\\t']
89 INFO: checking Analysis
89 INFO: Building Analysis because Analysis-00.toc is non existent
89 INFO: Initializing module dependency graph...
95 INFO: Caching module graph hooks...
106 WARNING: Several hooks defined for module 'win32ctypes.core'. Please take care they do not conflict.
112 INFO: Analyzing base_library.zip ...
2924 INFO: Processing pre-find module path hook distutils from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'.
2926 INFO: distutils: retargeting to non-venv dir 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib'
5455 INFO: Caching module dependency graph...
5653 INFO: running Analysis Analysis-00.toc
5655 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by c:\users\studio\appdata\local\programs\python\python39\python.exe
5726 WARNING: lib not found: api-ms-win-core-path-l1-1-0.dll dependency of c:\users\studio\appdata\local\programs\python\python39\python39.dll
5779 INFO: Analyzing E:\Novel\py\t\test.py
5799 INFO: Processing module hooks...
5801 INFO: Loading module hook 'hook-difflib.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
5801 INFO: Excluding import of doctest from module difflib
5803 INFO: Loading module hook 'hook-distutils.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
5804 INFO: Loading module hook 'hook-distutils.util.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
5804 INFO: Excluding import of lib2to3.refactor from module distutils.util
5806 INFO: Loading module hook 'hook-encodings.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
5939 INFO: Loading module hook 'hook-heapq.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
5944 INFO: Excluding import of doctest from module heapq
5944 INFO: Loading module hook 'hook-lib2to3.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
5998 INFO: Loading module hook 'hook-multiprocessing.util.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
6000 INFO: Excluding import of test from module multiprocessing.util
6000 INFO: Excluding import of test.support from module multiprocessing.util
6000 INFO: Loading module hook 'hook-pickle.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
6003 INFO: Excluding import of argparse from module pickle
6003 INFO: Loading module hook 'hook-sysconfig.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
6003 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
6004 INFO: Loading module hook 'hook-xml.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
6053 INFO: Loading module hook 'hook-_tkinter.py' from 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks'...
6265 INFO: checking Tree
6265 INFO: Building Tree because Tree-00.toc is non existent
6265 INFO: Building Tree Tree-00.toc
6344 INFO: checking Tree
6344 INFO: Building Tree because Tree-01.toc is non existent
6345 INFO: Building Tree Tree-01.toc
6473 INFO: checking Tree
6473 INFO: Building Tree because Tree-02.toc is non existent
6474 INFO: Building Tree Tree-02.toc
6501 INFO: Looking for ctypes DLLs
6533 INFO: Analyzing run-time hooks ...
6536 INFO: Including run-time hook 'c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py'
6543 INFO: Looking for dynamic libraries
6959 INFO: Looking for eggs
6959 INFO: Using Python library c:\users\studio\appdata\local\programs\python\python39\python39.dll
6962 INFO: Found binding redirects:
[]
6965 INFO: Warnings written to E:\Novel\py\t\build\test\warn-test.txt
7032 INFO: Graph cross-reference written to E:\Novel\py\t\build\test\xref-test.html
7046 INFO: checking PYZ
7047 INFO: Building PYZ because PYZ-00.toc is non existent
7047 INFO: Building PYZ (ZlibArchive) E:\Novel\py\t\build\test\PYZ-00.pyz
7707 INFO: Building PYZ (ZlibArchive) E:\Novel\py\t\build\test\PYZ-00.pyz completed successfully.
7724 INFO: checking PKG
7724 INFO: Building PKG because PKG-00.toc is non existent
7724 INFO: Building PKG (CArchive) PKG-00.pkg
7807 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
7810 INFO: Bootloader c:\users\studio\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
7810 INFO: checking EXE
7810 INFO: Building EXE because EXE-00.toc is non existent
7812 INFO: Building EXE from EXE-00.toc
7821 INFO: Copying icons from ['c:\\users\\studio\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\PyInstaller\\bootloader\\images\\icon-console.ico']
7837 INFO: Writing RT_GROUP_ICON 0 resource with 104 bytes
7838 INFO: Writing RT_ICON 1 resource with 3752 bytes
7839 INFO: Writing RT_ICON 2 resource with 2216 bytes
7839 INFO: Writing RT_ICON 3 resource with 1384 bytes
7839 INFO: Writing RT_ICON 4 resource with 37019 bytes
7841 INFO: Writing RT_ICON 5 resource with 9640 bytes
7841 INFO: Writing RT_ICON 6 resource with 4264 bytes
7841 INFO: Writing RT_ICON 7 resource with 1128 bytes
7867 INFO: Appending archive to EXE E:\Novel\py\t\build\test\test.exe
7920 INFO: Building EXE from EXE-00.toc completed successfully.
7923 INFO: checking COLLECT
7924 INFO: Building COLLECT because COLLECT-00.toc is non existent
7926 INFO: Building COLLECT COLLECT-00.toc
8484 INFO: Building COLLECT COLLECT-00.toc completed successfully.
Thank you your answer in advance!
Regards
B. Birtalan
Hi,
Can we use some kind of encrypted file for the dictionary?
Trying to perform this upgrade for OS X resulting in many seg faults -- root cause was not clear after some debugging.
Windows would need new visual studio builds against the new version created.
Just want to mention that if you load two different dictionaries using this module, one subscribe one another. For instance, if I run the following code:
self.pt_br_dic = Hunspell(pt_BR_path)
self.en_us_dic = Hunspell(en_US_path)
It will consider only the pt_br_dic
and forget the en_us_dic
one, which means that self.en_us_dic.suggest
or self.en_us_dic.spell
will give results as it was the self.pt_br_dic
variable.
Hi,
Thanks for this interesting tool.
I am wondering if there is a way to also use the Hunspell morphologial analyzer, something similar to the analyze
command.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.