DartArabic class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

normalizeAlef(String text) String
converts all alefs to ALEF_MAMDODA with the exception of Alef maksura
normalizeHamzaTasheel(String text) String
Standardize the Hamzat into one form of hamza (Tasheel method), replace Madda by hamza and alef. Replace the LamAlefs by simplified letters.
normalizeHamzaUniform(String text) String
Standardize the Hamzat into one form of hamza (uniform method), replace Madda by hamza and alef. Replace the LamAlefs by simplified letters.
normalizeLetters(String text) String
converts non standard letter characters to single letters. e.g HEH_START ﻫ is converted to ه
normalizeLigature(String text) String
Normalize Lam Alef ligatures into two letters (LAM and ALEF), and Tand return a result text.Some systems present lamAlef ligature as a single letter, this function convert it into two letters, The converted letters into LAM and ALEF are : LAM_ALEF, LAM_ALEF_HAMZA_ABOVE, LAM_ALEF_HAMZA_BELOW, LAM_ALEF_MADDA_ABOVE
stripDiacritics(String text) String
Strip arabic diacritics from text. The striped marks are : Small Alef, Harakat + Shadda, Quranic marks, Extended arabic diacritics
stripHarakat(String text) String
Strip Harakat from text arabic word except Shadda. The striped marks are : FATHA, DAMMA, KASRA, FATHATAN, DAMMATAN, KASRATAN,SUKUN Marks,
stripShadda(String text) String
Strip Shadda from text and return a result text.
stripTashkeel(String text) String
Strip vowels from text, include Shadda. The striped marks are : FATHA, DAMMA, KASRA, SUKUN, SHADDA, FATHATAN, DAMMATAN, KASRATAN
stripTatweel(String text) String
Strip tatweel (elongation characters) from text and return a result text.