def primary_collator():
 global _primary_collator
 if (_primary_collator is None):
  _primary_collator = collator().clone()
  _primary_collator.strength = _icu.UCOL_PRIMARY
 return _primary_collator

def primary_collator ( ) : global _primary_collator if ( _primary_collator is None ) : _primary_collator = collator ( ) . clone ( ) _primary_collator . strength = _icu . UCOL_PRIMARY return _primary_collator
ignores case differences and accented characters .