# Test data for Person Name Data
#  Copyright © 1991-2025 Unicode, Inc.
#  For terms of use, see http://www.unicode.org/copyright.html
#  SPDX-License-Identifier: Unicode-3.0
#  CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
# CLDR person name formatting test data for: hi
#
# Test lines have the following structure:
#
# enum ; <type> ; <value>(', ' <value)
#   For all the elements in <…> below, the possible choices that could appear in the file.
#   For example, <field> could be any of title, given, … credentials.
#   Verify that all of these values work with the implementation.
#
# name ; <field>('-'<modifier>) ; <value>
#   A sequence of these is to be used to build a person name object with the given field values.
#   If the <field> is 'locale', then the value is the locale of the name.
#     That will always be the last field in the name.
#     NOTE: the locale for the name (where different than the test file's locale) will generally not match the text.
#     It is chosen to exercise the person name formatting, by having a different given-surname order than the file's locale.
#
# expectedResult; <value>
#   This line follows a sequence of name lines, and indicates the that all the following parameter lines have this expected value.
#
# parameters; <options>; <length>; <usage>; <formality>
#   Each of these parameter lines should be tested to see that when formatting the current name with these parameters, 
#   the expected value is produced.
#
# endName
#   Indicates the end of the values to be tested with the current name.
#
# =====
# Example:
#     enum ; field ; title, given, given2, surname, surname2, generation, credentials
#     …
#
#     name ; given; Iris
#     name ; surname; Falke
#     name ; locale; de
#
#     expectedResult; Falke, Iris
#
#     parameters; sorting; long; referring; formal
#     parameters; sorting; medium; referring; informal
#
#     endName
#
#     name ; given; Max
#     name ; given2; Ben
#     name ; surname; Mustermann
#     …
# =====

enum ; field ; title, given, given2, surname, surname2, generation, credentials
enum ; modifiers ; informal, allCaps, initialCap, initial, retain, monogram, prefix, core, vocative, genitive
enum ; order ; givenFirst, surnameFirst, sorting
enum ; length ; long, medium, short
enum ; usage ; referring, addressing, monogram
enum ; formality ; formal, informal

# nativeG
name ; given; ललित
name ; locale; hi_AQ

expectedResult; ललित

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; addressing; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; ल

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; formal
parameters; surnameFirst; short; monogram; informal

endName

# nativeGS
name ; given; ललित
name ; surname; शर्मा
name ; locale; hi_AQ

expectedResult; शर्मा, ललित

parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; ललित शर्मा

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; referring; informal

expectedResult; शर्मा ललित

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; शर्मा, ल॰

parameters; sorting; short; referring; formal

expectedResult; ल॰ शर्मा

parameters; givenFirst; medium; referring; formal
parameters; givenFirst; short; referring; formal

expectedResult; शर्मा ल॰

parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal

expectedResult; शर्मा

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; ललित

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; लश

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal

expectedResult; शल

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal

expectedResult; ल

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; श

parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# nativeGGS
name ; given; ललित
name ; given2; मोहन
name ; surname; शर्मा
name ; locale; hi_AQ

expectedResult; शर्मा, ललित मोहन

parameters; sorting; long; referring; formal

expectedResult; ललित मोहन शर्मा

parameters; givenFirst; long; referring; formal

expectedResult; शर्मा ललित मोहन

parameters; surnameFirst; long; referring; formal

expectedResult; शर्मा, ललित मो॰

parameters; sorting; medium; referring; formal

expectedResult; शर्मा, ल॰ मो॰

parameters; sorting; short; referring; formal

expectedResult; ल॰ मो॰ शर्मा

parameters; givenFirst; medium; referring; formal
parameters; givenFirst; short; referring; formal

expectedResult; शर्मा ल॰ मो॰

parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; short; referring; formal

expectedResult; शर्मा, ललित

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; ललित शर्मा

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; referring; informal

expectedResult; शर्मा ललित

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; शर्मा ल॰

parameters; surnameFirst; short; referring; informal

expectedResult; शर्मा

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; लमोश

parameters; givenFirst; long; monogram; formal

expectedResult; ललित

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; शलमो

parameters; surnameFirst; long; monogram; formal

expectedResult; लश

parameters; givenFirst; long; monogram; informal

expectedResult; शल

parameters; surnameFirst; long; monogram; informal

expectedResult; ल

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; श

parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# nativeFull
name ; title; श्री
name ; given; ललित
name ; given-informal; लखन
name ; given2; कुमार
name ; surname-core; शर्मा
name ; generation; द्वितीय
name ; credentials; एम॰डी॰
name ; locale; hi_AQ

expectedResult; श्री शर्मा ललित कुमार, एम॰डी॰

parameters; surnameFirst; long; referring; formal

expectedResult; श्री ललित कुमार शर्मा एम॰डी॰

parameters; givenFirst; long; referring; formal

expectedResult; श्री ल॰ कु॰ शर्मा, एम॰डी॰

parameters; givenFirst; medium; referring; formal

expectedResult; श्री शर्मा ल॰ कु॰, एम॰डी॰

parameters; surnameFirst; medium; referring; formal

expectedResult; शर्मा, ललित कुमार एम॰डी॰

parameters; sorting; long; referring; formal

expectedResult; शर्मा, ललित कु॰ एम॰डी॰

parameters; sorting; medium; referring; formal

expectedResult; श्री लखन शर्मा

parameters; givenFirst; long; referring; informal

expectedResult; श्री शर्मा लखन

parameters; surnameFirst; long; referring; informal

expectedResult; शर्मा, ल॰ कु॰

parameters; sorting; short; referring; formal

expectedResult; ल॰ कु॰ शर्मा

parameters; givenFirst; short; referring; formal

expectedResult; शर्मा ल॰ कु॰

parameters; surnameFirst; short; referring; formal

expectedResult; शर्मा, लखन

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; श्री शर्मा

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; लखन शर्मा

parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; referring; informal

expectedResult; शर्मा लखन

parameters; surnameFirst; medium; referring; informal

expectedResult; शर्मा ल॰

parameters; surnameFirst; short; referring; informal

expectedResult; श्री लखन

parameters; givenFirst; long; addressing; informal

expectedResult; लकुश

parameters; givenFirst; long; monogram; formal

expectedResult; शलकु

parameters; surnameFirst; long; monogram; formal

expectedResult; लखन

parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; लश

parameters; givenFirst; long; monogram; informal

expectedResult; शल

parameters; surnameFirst; long; monogram; informal

expectedResult; ल

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; श

parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# foreignG
name ; given; रॉबर्ट
name ; locale; ko_AQ

expectedResult; रॉबर्ट

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; addressing; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; रॉ

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; formal
parameters; surnameFirst; short; monogram; informal

endName

# foreignGS
name ; given; कीथ
name ; surname; ब्राउन
name ; locale; ko_AQ

expectedResult; ब्राउन, की॰

parameters; sorting; short; referring; formal

expectedResult; ब्राउन, कीथ

parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; की॰ ब्राउन

parameters; givenFirst; medium; referring; formal
parameters; givenFirst; short; referring; formal

expectedResult; कीथ ब्राउन

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; referring; informal

expectedResult; ब्राउन की॰

parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal

expectedResult; ब्राउन कीथ

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; कीब्रा

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal

expectedResult; ब्राउन

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; ब्राकी

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal

expectedResult; ब्रा

parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; कीथ

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; की

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName

# foreignGGS
name ; given; मैरी
name ; given2; सिलविया
name ; surname; जोनस
name ; locale; ko_AQ

expectedResult; जोनस, मैरी सिलविया

parameters; sorting; long; referring; formal

expectedResult; जोनस मैरी सिलविया

parameters; surnameFirst; long; referring; formal

expectedResult; मैरी सिलविया जोनस

parameters; givenFirst; long; referring; formal

expectedResult; जोनस, मैरी सि॰

parameters; sorting; medium; referring; formal

expectedResult; जोनस, मै॰ सि॰

parameters; sorting; short; referring; formal

expectedResult; जोनस मै॰ सि॰

parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; short; referring; formal

expectedResult; मै॰ सि॰ जोनस

parameters; givenFirst; medium; referring; formal
parameters; givenFirst; short; referring; formal

expectedResult; जोनस, मैरी

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; जोनस मैरी

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; मैरी जोनस

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; referring; informal

expectedResult; जोनस मै॰

parameters; surnameFirst; short; referring; informal

expectedResult; जोमैसि

parameters; surnameFirst; long; monogram; formal

expectedResult; मैसिजो

parameters; givenFirst; long; monogram; formal

expectedResult; जोनस

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; जोमै

parameters; surnameFirst; long; monogram; informal

expectedResult; मैजो

parameters; givenFirst; long; monogram; informal

expectedResult; मैरी

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; जो

parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; मै

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName

# foreignFull
name ; title; प्रो॰ डॉ॰
name ; given; माइकल
name ; given-informal; माइक
name ; given2; जॉन
name ; surname-prefix; वॉन
name ; surname-core; वॉटसन
name ; surname2; चेस्टर
name ; generation; जूनियर
name ; credentials; एम॰डी॰, पी॰एच॰डी॰
name ; locale; ko_AQ

expectedResult; प्रो॰ डॉ॰ माइकल जॉन वॉन वॉटसन चेस्टर, एम॰डी॰, पी॰एच॰डी॰

parameters; givenFirst; long; referring; formal

expectedResult; प्रो॰ डॉ॰ वॉन वॉटसन माइकल जॉन, एम॰डी॰, पी॰एच॰डी॰

parameters; surnameFirst; long; referring; formal

expectedResult; प्रो॰ डॉ॰ मा॰ जॉ॰ वॉन वॉटसन, एम॰डी॰, पी॰एच॰डी॰

parameters; givenFirst; medium; referring; formal

expectedResult; प्रो॰ डॉ॰ वॉन वॉटसन मा॰ जॉ॰, एम॰डी॰, पी॰एच॰डी॰

parameters; surnameFirst; medium; referring; formal

expectedResult; वॉन वॉटसन, माइकल जॉ॰ एम॰डी॰, पी॰एच॰डी॰

parameters; sorting; medium; referring; formal

expectedResult; वॉन वॉटसन, माइकल जॉन एम॰डी॰, पी॰एच॰डी॰

parameters; sorting; long; referring; formal

expectedResult; प्रो॰ डॉ॰ माइक वॉन वॉटसन

parameters; givenFirst; long; referring; informal

expectedResult; प्रो॰ डॉ॰ वॉन वॉटसन माइक

parameters; surnameFirst; long; referring; informal

expectedResult; प्रो॰ डॉ॰ वॉन वॉटसन

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; वॉन वॉटसन, मा॰ जॉ॰

parameters; sorting; short; referring; formal

expectedResult; मा॰ जॉ॰ वॉन वॉटसन

parameters; givenFirst; short; referring; formal

expectedResult; वॉन वॉटसन मा॰ जॉ॰

parameters; surnameFirst; short; referring; formal

expectedResult; वॉन वॉटसन, माइक

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; प्रो॰ डॉ॰ माइक

parameters; givenFirst; long; addressing; informal

expectedResult; माइक वॉन वॉटसन

parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; referring; informal

expectedResult; वॉन वॉटसन माइक

parameters; surnameFirst; medium; referring; informal

expectedResult; वॉन वॉटसन मा॰

parameters; surnameFirst; short; referring; informal

expectedResult; माजॉवॉ

parameters; givenFirst; long; monogram; formal

expectedResult; वॉमाजॉ

parameters; surnameFirst; long; monogram; formal

expectedResult; माइक

parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; मावॉ

parameters; givenFirst; long; monogram; informal

expectedResult; वॉमा

parameters; surnameFirst; long; monogram; informal

expectedResult; मा

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; वॉ

parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName
