Skip to content

capitalized() on all-Mtavruli Georgian writes a capital first letter: ᲜᲘᲜᲝ ᲑᲣᲠᲯᲐᲜᲐᲫᲔ gives Ნინო Ბურჯანაძე #1223

Closed

Description

@derek73

Georgian writes no initial capitals. Mtavruli (U+1C90–U+1CBF) is used only for whole words in capitals, and Unicode gives Mkhedruli letters no titlecase mapping to Mtavruli for that reason. Case repair of a name written in Mtavruli should give plain Mkhedruli, but it keeps a Mtavruli first letter on each word.

Measured on master 93de2cb:

Input capitalized() Expected
ᲜᲘᲜᲝ ᲑᲣᲠᲯᲐᲜᲐᲫᲔ Ნინო Ბურჯანაძე ნინო ბურჯანაძე
ᲣᲩᲐ ᲒᲝᲒᲝᲚᲐᲫᲔ Უჩა Გოგოლაძე უჩა გოგოლაძე
ნინო ბურჯანაძე ნინო ბურჯანაძე unchanged, correct

initials() gives Ნ. Ბ. for the Mtavruli spelling and ნ. ბ. for the Mkhedruli one.

The cause looks like Python's str.capitalize() in nameparser/_render.py's word repair: it titlecases the first character, and a Mtavruli letter's titlecase is itself. Lowering the word before titlecasing its first letter gives the right answer, since a Mkhedruli letter's titlecase is itself. Rule: rules/R4 (case repair reads the unjoined mark).

No all-Mtavruli name list was found; Wikidata shows 4 of 5,242 Georgian labels written with a Mtavruli first letter.

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions