category
text_diacritics
Unicode diacritic removal and profile-defined transliteration over code lists.
Availability:
logtalk_load(text_normalization(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-09-06
Compilation flags:
staticRemarks:
(none)
Inherited public predicates:
(none)
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
remove_diacritics_codes/2
Canonically decomposes text, removes all Unicode Mark-category code points, and returns NFC text.
Compilation flags:
staticTemplate:
remove_diacritics_codes(Codes,Removed)Mode and number of proofs:
remove_diacritics_codes(+list(integer),-list(integer)) - one_or_errorExceptions:
An input element is not a Unicode scalar value:
domain_error(unicode_scalar_value,Code)fold_diacritics_codes/3
Removes Unicode marks, applies profile transliterations to remaining code points, and returns NFC text.
Compilation flags:
staticTemplate:
fold_diacritics_codes(Codes,Profile,Folded)Mode and number of proofs:
fold_diacritics_codes(+list(integer),+object_identifier,-list(integer)) - one_or_errorExceptions:
An input element is not a Unicode scalar value:
domain_error(unicode_scalar_value,Code)Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)