Windows 8.1 有一个很好的功能,可以在所有应用程序中自动更正输入错误的单词。是否可以在 Ubuntu 中实现该功能?
Ubuntu 使用一个名为 的包aspell
来指示输入错误,但它不提供自动更正功能。
man aspell
Run Code Online (Sandbox Code Playgroud)
aspell 是一个实用程序,它连接到 Aspell 库,以便它可以作为 ispell -a 的替代品、作为独立的拼写检查器、作为测试 Aspell 库功能的测试实用程序以及作为管理由 Aspell 库使用的字典的实用程序。图书馆。
Run Code Online (Sandbox Code Playgroud)The Aspell library contains an interface allowing other programs direct access to its functions and therefore reducing the complex task of spell checking to simple library calls. The default library does not contain dictionary word lists. To add language dictionaries
但你要注意到,有些应用程序使用的是 aspell 通用字典,例如 Evolution、Abiword ...。而另一些应用程序则使用自己的字典,例如 LibreOffice,它使用libreoffice-l10n-[language code]
和language-support-writing-[language code]
封装。
安装语言词典
sudo apt-get install aspell-[lan code]
Run Code Online (Sandbox Code Playgroud)
例如安装西班牙语词典
sudo apt-get install aspell-es
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
3553 次 |
最近记录: |