def compose_nfc(text):
if text is None:<EOL><INDENT>return None<EOL><DEDENT>if not hasattr(compose_nfc, '<STR_LIT>'):<EOL><INDENT>compose_nfc._tr = Transliterator.createInstance('<STR_LIT>')<EOL><DEDENT>return compose_nfc._tr.transliterate(text)<EOL>
Perform unicode composition.