Repository navigation
Changelog
- Spell check now supports Hunspell dictionaries, the .aff + .dic pairs used by LibreOffice and Firefox for about 100 languages, as well as SymSpell word lists. In Spelling & Language > Manage Spellcheck Dictionaries, add the .dic file; the .aff file of the same name must be in the same folder. A Hunspell dictionary also knows a word's inflected forms, so a correctly spelled form such as Häusern is no longer treated as a misspelling.
- Hunspell suggestions come first in the candidate word list, followed by SymSpell's. The dictionaries are asked in the order of the spellcheck dictionary list, and a dictionary whose alphabet doesn't fit the word is skipped, so put the language you look up most at the top.
- When Enable spell check is on and a word isn't found, a Hunspell dictionary now suggests its base form if one of your dictionaries has it, for example Häusern → Haus or домами → дом. This works for every language that has a Hunspell dictionary, not just English and Japanese.
- Added Show word forms in Spelling & Language (also in the lookup settings), off by default. When it is on and the word in the first lookup result has other forms, that row gets a small arrow that opens them under it (turn off First result only to get it on every result that is an inflected form). For gave: give (Base form), gave (Past tense), given (Past participle), giving, gives. Irregular forms work too, for example best → good and well (Superlative), went → go, children → child. Tap a form to look it up. Turn on Mark forms in your dictionaries (off by default) to see a tick on the forms that have an entry in the first 10 local dictionaries of the group. The results and their order stay the same.
- Word forms for English come from data built into DictTango, so they work without any spellcheck dictionary. For other languages, your enabled Hunspell dictionaries give a word's base form and its other forms (without grammatical names).
- Redesigned the Spellcheck Dictionaries screen. Each dictionary is a card showing whether it is a Hunspell dictionary or a word list, its file, word count and encoding, with a switch to turn it on or off. Drag a card by its handle to change the order. A card says why a dictionary can't be used, for example when its .aff file has been moved. Add dictionary explains the two kinds of file before you pick one.
- Redesigned the spellcheck dictionary's detail screen: name and language, its files (for Hunspell, the .dic and .aff files with word count, encoding and size), Try a word to check a word against that dictionary alone with suggestions and base form, and Remove from the list, which keeps the files on your device.
- Added Download Spellcheck Dictionaries to the Spellcheck Dictionaries screen (the download button at the top, or Add dictionary). Choose from 92 Hunspell dictionaries in about 90 languages, with your own languages first; a downloaded dictionary is checked, added to your spellcheck dictionaries and switched on, ready to use. A download that is interrupted continues where it stopped, and the list is still shown when you're offline. Each dictionary keeps its own licence, saved with it.
更新日志
- 拼写检查现在支持 Hunspell 词典
- Hunspell 的建议会排在候选词列表的前面,其后是 SymSpell 的建议。程序按拼写检查词典列表的顺序查询各词典,并跳过字母表与该单词不符的词典,因此请把最常查的语言放在最上面。
- 开启“启用拼写检查”后,如果查不到某个单词,Hunspell 词典会提示其原形(前提是您的词典中收录了该原形),例如 Häusern → Haus、домами → дом。凡是有 Hunspell 词典的语言都适用,不再仅限于英语和日语。
- “拼写与语言”中新增“显示词形变化”(查词设置中也可开关),默认关闭。开启后,如果第一个查词结果有其他词形,该行会显示一个小箭头,点按即可在该行下方展开词形(关闭“仅限第一个结果”后,凡是变化形式的结果都会显示),例如 gave:give(原形)、gave(过去式)、given(过去分词)、giving、gives。不规则变化同样适用,例如 best → good 和 well(最高级)、went → go、children → child。点按任一词形即可查询该词。开启“标记词典中收录的词形”(默认关闭)后,分组中前 10 部本地词典收录的词形会打勾。查词结果及其顺序保持不变。
- 英语词形来自 DictTango 内置的数据,无需任何拼写检查词典。其他语言则由您已启用的 Hunspell 词典提供单词的原形和其他词形(不标注语法名称)。
- 重新设计了“拼写检查词典”页面。每部词典以卡片显示,标明是 Hunspell 词典还是词频表,并显示文件、词数和编码,以及可直接启用或停用的开关。拖动卡片左侧的手柄即可调整顺序。词典无法使用时,卡片会说明原因,例如其 .aff 文件已被移走。“添加词典”会先说明两种文件的区别,再让您选择文件。
- 重新设计了拼写检查词典的详情页面:名称和语言;词典文件(Hunspell 词典会显示 .dic 和 .aff 文件,以及词数、编码和大小);“试查单词”可仅用该词典检查单词,并给出建议和原形;“从列表中移除”会保留设备上的文件。
- “拼写检查词典”页面新增“下载拼写检查词典”(点按顶部的下载按钮或“添加词典”)。可从约 90 种语言的 92 部 Hunspell 词典中选择,您所用的语言排在前面;下载的词典经校验后会加入拼写检查词典并自动启用,即可使用。下载中断后会从中断处继续,离线时仍会显示词典列表。每部词典都附带其许可证。
繁體
更新日誌
- 拼寫檢查現在支援 Hunspell 詞典。
- Hunspell 的建議會排在候選詞清單的前面,其後是 SymSpell 的建議。程式按拼寫檢查詞典清單的順序查詢各詞典,並略過字母表與該單詞不符的詞典,因此請把最常查的語言放在最上面。
- 開啟「啟用拼寫檢查」後,如果查不到某個單詞,Hunspell 詞典會提示其原形(前提是您的詞典中收錄了該原形),例如 Häusern → Haus、домами → дом。凡是有 Hunspell 詞典的語言都適用,不再僅限於英語和日語。
- 「拼寫與語言」中新增「顯示詞形變化」(查詞設定中也可開關),預設關閉。開啟後,如果第一個查詞結果有其他詞形,該列會顯示一個小箭頭,點按即可在該列下方展開詞形(關閉「僅限第一個結果」後,凡是變化形式的結果都會顯示),例如 gave:give(原形)、gave(過去式)、given(過去分詞)、giving、gives。不規則變化同樣適用,例如 best → good 和 well(最高級)、went → go、children → child。點按任一詞形即可查詢該詞。開啟「標記詞典中收錄的詞形」(預設關閉)後,分組中前 10 部本機詞典收錄的詞形會打勾。查詞結果及其順序保持不變。
- 英語詞形來自 DictTango 內建的資料,無需任何拼寫檢查詞典。其他語言則由您已啟用的 Hunspell 詞典提供單詞的原形和其他詞形(不標註語法名稱)。
- 重新設計了「拼寫檢查詞典」頁面。每部詞典以卡片顯示,標明是 Hunspell 詞典還是詞頻表,並顯示檔案、詞數和編碼,以及可直接啟用或停用的開關。拖動卡片左側的把手即可調整順序。詞典無法使用時,卡片會說明原因,例如其 .aff 檔已被移走。「新增詞典」會先說明兩種檔案的區別,再讓您選擇檔案。
- 重新設計了拼寫檢查詞典的詳細資料頁面:名稱和語言;詞典檔案(Hunspell 詞典會顯示 .dic 和 .aff 檔,以及詞數、編碼和大小);「試查單詞」可僅用該詞典檢查單詞,並給出建議和原形;「從清單中移除」會保留裝置上的檔案。
- 「拼寫檢查詞典」頁面新增「下載拼寫檢查詞典」(點按頂部的下載按鈕或「新增詞典」)。可從約 90 種語言的 92 部 Hunspell 詞典中選擇,您所用的語言排在前面;下載的詞典經校驗後會加入拼寫檢查詞典並自動啟用,即可使用。下載中斷後會從中斷處繼續,離線時仍會顯示詞典清單。每部詞典都附帶其授權條款。
Release notes: https://github.com/Jimex/DictTango-Android/blob/main/ReleaseNotes.md