Skip to content
Articles
Article

arabic_text_search: Arabic-aware search, fuzzy matching and highlighting in Dart

by Abdeldjalil Chougui dev.to

5 min read

Search in Arabic text fails in ways that surprise people who only tested with English. A user types محمد and the record is stored as مُحَمَّدٌ, with diacritics. Another types احمد and the name is written أحمد. A third has a Persian keyboard layout, so their کتاب uses a different code point for the first letter than the Arabic كتاب. To a plain contains() call these are all different strings. The u…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by