我已经将凯特编辑器安装到我的Ubuntu伙伴16.04.6LTS系统中,就像sudo apt-get install kate一样简单。
在它的设置→凯特配置、编辑器组件、编辑、拼写检查选项卡中,我看到它没有检测到用于拼写检查的后端:
用于拼写检查的No后端

凯特十四行诗:没有拼写后端可用!没有用于语言的词典:"en“
我安装了与拼写检查相关的下列软件包:
$ dpkg -l | grep -iE "dict|spell.*(check|correct)"
ii anthy 9100h-25ubuntu1 amd64 input method for Japanese - backend, dictionary and utility
ii anthy-common 9100h-25ubuntu1 all input method for Japanese - common files and dictionary
ii aspell 0.60.7~20110707-3build1 amd64 GNU Aspell spell-checker
ii aspell-en 7.1-0-1.1 all English dictionary for GNU Aspell
ii dictionaries-common 1.26.3 all spelling dictionaries - common utilities
ii enchant 1.6.0-10.1build2 amd64 Wrapper for various spell checker engines (binary programs)
ii geany-plugin-spellcheck 1.27+dfsg-2 amd64 spellcheck plugin for Geany
ii hunspell-en-ca 1:5.1.0-1ubuntu2.2 all English (Canada) dictionary for hunspell
ii hunspell-en-gb 1:5.1.0-1ubuntu2.2 all English (GB) dictionary for hunspell
ii hunspell-en-us 20070829-6ubuntu3 all English_american dictionary for hunspell
ii hunspell-en-za 1:5.1.0-1ubuntu2.2 all English (South Africa) dictionary for hunspell
ii hunspell-ru 20120501-1 all Russian dictionary for hunspell
ii iamerican 3.4.00-5 all American English dictionary for ispell (standard version)
ii ienglish-common 3.4.00-5 all Common files for British and American ispell dictionaries
ii ispell 3.4.00-5 amd64 International Ispell (an interactive spelling corrector)
ii libaspell15:amd64 0.60.7~20110707-3build1 amd64 GNU Aspell spell-checker runtime library
ii libenchant1c2a:amd64 1.6.0-10.1build2 amd64 Wrapper library for various spell checker engines (runtime libs)
ii libgdict-common 3.18.0-2 all GNOME Dictionary base library - common files
ii libgtkspell0 2.0.16-1.1ubuntu1 amd64 a spell-checking addon for GTK's TextView widget
ii libgtkspell3-3-0:amd64 3.0.7-2 amd64 spell-checking addon for GTK+'s TextView widget
ii libhunspell-1.3-0:amd64 1.3.3-4ubuntu1 amd64 spell checker and morphological analyzer (shared library)
ii libhunspell-dev:amd64 1.3.3-4ubuntu1 amd64 spell checker and morphological analyzer (development)
ii libjazzy-java 0.5.2-1 all spell checker java library
ii libkf5sonnet5-data 5.18.0-0ubuntu1 all spell checking library for Qt
ii libkf5sonnetcore5:amd64 5.18.0-0ubuntu1 amd64 spell checking library for Qt
ii libkf5sonnetui5:amd64 5.18.0-0ubuntu1 amd64 spell checking library for Qt
ii libmatedict6 1.12.0-1 amd64 MATE desktop utilities (matedict library)
ii link-grammar-dictionaries-en 4.7.4-3 all Carnegie Mellon University's link grammar parser (English dictionary)
ii myspell-en-au 2.1-5.4 all English_australian dictionary for myspell
ii myspell-en-gb 1:5.1.0-1ubuntu2.2 all English (GB) dictionary for hunspell - dummy transitional package
ii myspell-en-za 1:5.1.0-1ubuntu2.2 all English (ZA) dictionary for hunspell - dummy transitional package
rc myspell-ru 0.99g5-20 all Russian dictionary for MySpell
ii python-enchant 1.6.6-2 all spellchecking library for Python
ii python3-enchant 1.6.6-2 all spellchecking library for Python 3
ii wamerican 7.1-1 all American English dictionary words for /usr/share/dict
ii wbritish 7.1-1 all British English dictionary words for /usr/share/dict我该怎么解决这个问题?
发布于 2019-08-19 11:37:29
要解决这个问题,我们只需要安装一个与十四行诗相关的包:
十四行诗插件(参见packages.ubuntu.com) Qt的拼写检查库
使用
sudo apt-get install sonnet-plugins因为这取决于几乎所有的拼写引擎
奇怪的是,为什么我以前没有安装它。其他已安装的库建议:
$ aptitude why sonnet-plugins
i sonnet-plugins Depends libkf5sonnetcore5 (>= 4.96.0)
i A libkf5sonnetcore5 Recommends sonnet-plugins (= 5.18.0-0ubuntu1)https://askubuntu.com/questions/1166826
复制相似问题