Skip to content

#58 - feat: dictionary downloads via external Dictionnary app + next-word p… - #531

Closed
komuros wants to merge 1 commit into
FossifyOrg:mainfrom
komuros:auto-correct-with-dictionnary-app
Closed

komuros wants to merge 1 commit into
FossifyOrg:mainfrom
komuros:auto-correct-with-dictionnary-app

Conversation

@komuros

@komuros komuros commented Nov 21, 2026 •

Copy link
Copy Markdown

feature request Autocorrect / suggestion strip
…rediction

The keyboard app keeps no INTERNET permission: a new :dictionnary module (org.fossify.dictionnary) downloads word frequency lists (HermitDave/ FrequencyWords, converted on the fly to wordfreq JSON) and shares them through an exported ContentProvider guarded by a signature permission. The keyboard copies the files locally into filesDir/dictionaries and the SpellChecker loads them from that local copy.

  • keyboard language now follows the system locale by default; at launch the app proposes to download the dictionary of the current language, or to install the Dictionnary app when it is missing
  • SettingsActivity: propose/install Dictionnary when enabling suggestions or auto-correct, avoid relaunching a failed download in a loop
  • DictionaryProvider: also match files// URIs so copying a dictionary file through its content URI works
  • fix direct-boot crash: theme colors are read through the device-protected storage context
  • after a space, the most probable next words are shown in the suggestion strip before the first letter is typed, and chain after each applied suggestion (the applied word is excluded)

Generated by Mistral Vibe.

Type of change(s)

  • Bug fix
  • Feature / enhancement
  • Infrastructure / tooling (CI, build, deps, tests)
  • Documentation

What changed and why

  • Fixed accent color contrast to meet WCAG AA
  • Updated strings

Tests performed

Before & after preview

Closes the following issue(s)

  • Closes #

Checklist

  • I read the contribution guidelines.
  • I manually tested my changes on device/emulator (if applicable).
  • I updated the "Unreleased" section in CHANGELOG.md (if applicable).
  • I have self-reviewed my pull request (no typos, formatting errors, etc.).
  • I understand every change in this pull request.

…rediction

The keyboard app keeps no INTERNET permission: a new :dictionnary module
(org.fossify.dictionnary) downloads word frequency lists (HermitDave/
FrequencyWords, converted on the fly to wordfreq JSON) and shares them
through an exported ContentProvider guarded by a signature permission.
The keyboard copies the files locally into filesDir/dictionaries and the
SpellChecker loads them from that local copy.

- keyboard language now follows the system locale by default; at launch
  the app proposes to download the dictionary of the current language, or
  to install the Dictionnary app when it is missing
- SettingsActivity: propose/install Dictionnary when enabling suggestions
  or auto-correct, avoid relaunching a failed download in a loop
- DictionaryProvider: also match files/*/* URIs so copying a dictionary
  file through its content URI works
- fix direct-boot crash: theme colors are read through the
  device-protected storage context
- after a space, the most probable next words are shown in the suggestion
  strip before the first letter is typed, and chain after each applied
  suggestion (the applied word is excluded)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@fossifybot

fossifybot Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Fossify accepts code contributions only for open issues labeled help wanted. This pull request does not meet that requirement or one of the documented exceptions, so it is being closed without review. Please read the contribution guidelines before starting work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant