IgnoreDiacritics

IgnoreDiacritics

is an option for string, grammar, and related functions that specifies whether diacritics should be ignored in strings.

Details

  • In grammar functions, IgnoreDiacritics->True specifies that simple transformations such as adding or removing diacritics should automatically be made in attempting to apply grammar rules.
  • In string functions such as AlphabeticSort, IgnoreDiacritics->True ignores diacritics only on characters that do not appear in the base alphabet of the language used.

Examples

Basic Examples  (5)

Deploy a grammar that ignores diacritics:

Apply the grammar to text that is missing the diacritic:

Apply the grammar to text that has the diacritic:

Require the diacritic while applying the grammar:

Deploy a grammar that does not ignore diacritics:

Apply the grammar to text that is missing the diacritic:

Apply the grammar to text that has the diacritic:

Deploy a grammar that contains no diacritics and that ignores diacritics when applied:

Apply the grammar to text that has a diacritic:

Sort alphabetically without considering diacritics:

Check alphabetic ordering independent of diacritics or ligatures:

Introduced in 2015
 (10.1)