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:

Wolfram Research (2015), IgnoreDiacritics, Wolfram Language function, https://reference.wolfram.com/language/ref/IgnoreDiacritics.html.

Text

Wolfram Research (2015), IgnoreDiacritics, Wolfram Language function, https://reference.wolfram.com/language/ref/IgnoreDiacritics.html.

CMS

Wolfram Language. 2015. "IgnoreDiacritics." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/IgnoreDiacritics.html.

APA

Wolfram Language. (2015). IgnoreDiacritics. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/IgnoreDiacritics.html

BibTeX

@misc{reference.wolfram_2023_ignorediacritics, author="Wolfram Research", title="{IgnoreDiacritics}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/IgnoreDiacritics.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_ignorediacritics, organization={Wolfram Research}, title={IgnoreDiacritics}, year={2015}, url={https://reference.wolfram.com/language/ref/IgnoreDiacritics.html}, note=[Accessed: 19-March-2024 ]}