openfoodfacts / smooth-app

The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart

Home Page:https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an option to spellcheck and grammarcheck the OCR fields and product name using OS level systems

teolemon opened this issue · comments

Problem

  • We have an ongoing effort for ingredient spellcheck
  • Some other fields (like product name) might benefit from OS-level spellcheck and grammar check.

Proposed solution

  • Add an option to spellcheck and grammar check the OCR fields and product name using the OS-level systems
  • Make it optional (dev mode) so that we can evaluate performance and impact

Part of

Could you describe what you mean by spellcheck/grammar check?
Is-it the red lines in text fields? If yes, true, this is already available in Flutter and is just a parameter to add.

If you want a real automatic spellcheck, there are some solutions, but they force storing a dictionary of words per language.

Your first option, the easy one