From e11c38901625168100ea2a0d048465fce3b1321d Mon Sep 17 00:00:00 2001 From: Peter Edberg <42151464+pedberg-icu@users.noreply.github.com> Date: Thu, 18 Jul 2024 13:57:27 -0700 Subject: [PATCH] CLDR-17812 v46 vxml: Regenerate personName test data (#3885) --- common/testData/personNameTest/af.txt | 38 +- common/testData/personNameTest/ak.txt | 550 ++++++++++++++ common/testData/personNameTest/am.txt | 143 ++-- common/testData/personNameTest/bal_Latn.txt | 549 ++++++++++++++ common/testData/personNameTest/ga.txt | 96 +-- common/testData/personNameTest/gd.txt | 100 +-- common/testData/personNameTest/ig.txt | 8 +- common/testData/personNameTest/kn.txt | 8 +- common/testData/personNameTest/pcm.txt | 783 ++++++++++++++++++++ common/testData/personNameTest/so.txt | 76 +- common/testData/personNameTest/sv.txt | 52 +- common/testData/personNameTest/ti.txt | 203 +++-- common/testData/personNameTest/yo.txt | 108 +-- 13 files changed, 2271 insertions(+), 443 deletions(-) create mode 100644 common/testData/personNameTest/ak.txt create mode 100644 common/testData/personNameTest/bal_Latn.txt create mode 100644 common/testData/personNameTest/pcm.txt diff --git a/common/testData/personNameTest/af.txt b/common/testData/personNameTest/af.txt index 06efa0df316..ab4aeb8523f 100644 --- a/common/testData/personNameTest/af.txt +++ b/common/testData/personNameTest/af.txt @@ -321,72 +321,68 @@ name ; title; mnr. name ; given; Bertus Wilbers name ; given-informal; Bertie name ; given2; Henri Retief -name ; surname-core; Wyk +name ; surname-core; Willemse name ; generation; jnr. name ; credentials; LP name ; locale; af_AQ -expectedResult; mnr. Bertus Wilbers Henri Retief Wyk jnr., LP +expectedResult; mnr. Bertus Wilbers Henri Retief Willemse jnr., LP parameters; givenFirst; long; referring; formal -expectedResult; Wyk Bertus Wilbers Henri Retief LP +expectedResult; Willemse Bertus Wilbers Henri Retief LP parameters; surnameFirst; long; referring; formal -expectedResult; Wyk, Bertus Wilbers Henri Retief +expectedResult; Willemse, Bertus Wilbers Henri Retief parameters; sorting; long; referring; formal -expectedResult; Bertus Wilbers H. R. Wyk LP +expectedResult; Bertus Wilbers H. R. Willemse LP parameters; givenFirst; medium; referring; formal parameters; givenFirst; medium; referring; informal -expectedResult; Wyk Bertus Wilbers H. R. LP +expectedResult; Willemse Bertus Wilbers H. R. LP parameters; surnameFirst; medium; referring; formal -expectedResult; Wyk, Bertus Wilbers H. R. +expectedResult; Willemse, Bertus Wilbers H. R. parameters; sorting; medium; referring; formal -expectedResult; Wyk, B. W. H. R. +expectedResult; Willemse, B. W. H. R. parameters; sorting; short; referring; formal -expectedResult; B. W. H. R. Wyk +expectedResult; B. W. H. R. Willemse parameters; givenFirst; short; referring; formal -expectedResult; Wyk B. W. H. R. +expectedResult; Willemse B. W. H. R. parameters; surnameFirst; short; referring; formal -expectedResult; Wyk, Bertie +expectedResult; Willemse, Bertie parameters; sorting; long; referring; informal parameters; sorting; medium; referring; informal parameters; sorting; short; referring; informal -expectedResult; Bertie Wyk +expectedResult; Bertie Willemse parameters; givenFirst; long; referring; informal -expectedResult; Wyk Bertie +expectedResult; Willemse Bertie parameters; surnameFirst; long; referring; informal parameters; surnameFirst; medium; referring; informal -expectedResult; Bertie W. - -parameters; givenFirst; short; referring; informal - -expectedResult; Wyk B. W. +expectedResult; Willemse B. W. parameters; surnameFirst; short; referring; informal -expectedResult; mnr. Wyk +expectedResult; mnr. Willemse parameters; givenFirst; long; addressing; formal parameters; givenFirst; medium; addressing; formal @@ -395,6 +391,10 @@ parameters; surnameFirst; long; addressing; formal parameters; surnameFirst; medium; addressing; formal parameters; surnameFirst; short; addressing; formal +expectedResult; Bertie W. + +parameters; givenFirst; short; referring; informal + expectedResult; Bertie parameters; givenFirst; long; addressing; informal diff --git a/common/testData/personNameTest/ak.txt b/common/testData/personNameTest/ak.txt new file mode 100644 index 00000000000..316067a76fb --- /dev/null +++ b/common/testData/personNameTest/ak.txt @@ -0,0 +1,550 @@ +# Test data for Person Name Data +# Copyright © 1991-2024 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: ak +# +# Test lines have the following structure: +# +# enum ; ; (', ' below, the possible choices that could appear in the file. +# For example, could be any of title, given, … credentials. +# Verify that all of these values work with the implementation. +# +# name ; ('-') ; +# A sequence of these is to be used to build a person name object with the given field values. +# If the 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; +# This line follows a sequence of name lines, and indicates the that all the following parameter lines have this expected value. +# +# parameters; ; ; ; +# 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; Zendaya +name ; locale; ak_AQ + +expectedResult; Zendaya + +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; Z + +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; Irene +name ; surname; Adler +name ; locale; ak_AQ + +expectedResult; Adler Irene + +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; Irene Adler + +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 + +expectedResult; AI + +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 + +expectedResult; IA + +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 + +endName + +# nativeGGS +name ; given; Mary Sue +name ; given2; Hamish +name ; surname; Watson +name ; locale; ak_AQ + +expectedResult; Mary Sue Hamish Watson + +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 + +expectedResult; Watson Mary Sue Hamish + +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; MHW + +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 + +expectedResult; WMH + +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 + +# nativeFull +name ; title; Owura +name ; given; Bertram Wilberforce +name ; given-informal; Bertie +name ; given2; Henry Robert +name ; surname-core; Wooster +name ; generation; Jr +name ; credentials; MP +name ; locale; ak_AQ + +expectedResult; Owura Bertram Wilberforce Henry Robert Wooster MP + +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 + +expectedResult; Wooster Owura Bertram Wilberforce Henry Robert MP + +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; BHW + +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 + +expectedResult; WBH + +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 + +# foreignG +name ; given; Sinbad +name ; locale; ja_AQ + +expectedResult; Sinbad + +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; S + +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; Käthe +name ; surname; Müller +name ; locale; ja_AQ + +expectedResult; Käthe Müller + +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 + +expectedResult; Müller Käthe + +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; KM + +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 + +expectedResult; MK + +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 + +# foreignGGS +name ; given; Zäzilia +name ; given2; Hamish +name ; surname; Stöber +name ; locale; ja_AQ + +expectedResult; Stöber Zäzilia Hamish + +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; Zäzilia Hamish Stöber + +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 + +expectedResult; SZH + +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 + +expectedResult; ZHS + +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 + +endName + +# foreignFull +name ; title; Prof. Dr. +name ; given; Ada Cornelia +name ; given-informal; Neele +name ; given2; César Martín +name ; surname-prefix; von +name ; surname-core; Brühl +name ; surname2; González Domingo +name ; generation; Jr +name ; credentials; MD DDS +name ; locale; ja_AQ + +expectedResult; von Brühl González Domingo, Prof. Dr. Ada Cornelia César Martín MD DDS + +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; Prof. Dr. Ada Cornelia César Martín von Brühl González Domingo MD DDS + +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 + +expectedResult; von Brühl González Domingo Prof. Dr. Ada Cornelia César Martín MD DDS + +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 + +expectedResult; ACV + +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 + +expectedResult; VAC + +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 diff --git a/common/testData/personNameTest/am.txt b/common/testData/personNameTest/am.txt index 3fc2478d50e..b38050599d8 100644 --- a/common/testData/personNameTest/am.txt +++ b/common/testData/personNameTest/am.txt @@ -113,11 +113,26 @@ parameters; surnameFirst; short; monogram; informal endName # nativeGS -name ; given; ኢሬን +name ; given; አይሪን name ; surname; አድለር name ; locale; am_AQ -expectedResult; አድለር ኢሬን +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 + +expectedResult; አድለር አይሪን parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal @@ -138,31 +153,7 @@ parameters; sorting; medium; referring; informal parameters; sorting; short; referring; formal parameters; sorting; short; referring; informal -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 - -expectedResult; አኢ - -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 - -expectedResult; ኢአ +expectedResult; አአ parameters; givenFirst; long; monogram; formal parameters; givenFirst; long; monogram; informal @@ -170,16 +161,37 @@ 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 # nativeGGS -name ; given; ጆን +name ; given; ሜሪ ሱ name ; given2; ሃሚሽ name ; surname; ዋትሰን name ; locale; am_AQ -expectedResult; ዋትሰን ጆን ሃሚሽ +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 + +expectedResult; ዋትሰን ሜሪ ሱ ሃሚሽ parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal @@ -200,22 +212,16 @@ parameters; sorting; medium; referring; informal parameters; sorting; short; referring; formal parameters; sorting; short; referring; informal -expectedResult; ጆን ሃሚሽ ዋትሰን +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; 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 -expectedResult; ዋጆሃ +expectedResult; ዋሜሃ parameters; surnameFirst; long; monogram; formal parameters; surnameFirst; long; monogram; informal @@ -224,28 +230,19 @@ parameters; surnameFirst; medium; monogram; informal parameters; surnameFirst; short; monogram; formal parameters; surnameFirst; short; monogram; 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 - endName # nativeFull name ; title; አቶ -name ; given; በርታም ዊልበርፎርስ +name ; given; በርትራም ዊልበርፎርስ name ; given-informal; በርቲ name ; given2; ሄነሪ ሮበርት name ; surname-core; ዉስተር -name ; generation; ተማሪ -name ; credentials; ኤምፒ +name ; generation; ልጅ +name ; credentials; የፓርላማ አባል name ; locale; am_AQ -expectedResult; አቶ በርታም ዊልበርፎርስ ሄነሪ ሮበርት ዉስተር ኤምፒ +expectedResult; አቶ በርትራም ዊልበርፎርስ ሄነሪ ሮበርት ዉስተር የፓርላማ አባል parameters; givenFirst; long; referring; formal parameters; givenFirst; long; referring; informal @@ -260,7 +257,7 @@ parameters; givenFirst; short; referring; informal parameters; givenFirst; short; addressing; formal parameters; givenFirst; short; addressing; informal -expectedResult; ዉስተር አቶ በርታም ዊልበርፎርስ ሄነሪ ሮበርት ኤምፒ +expectedResult; ዉስተር አቶ በርትራም ዊልበርፎርስ ሄነሪ ሮበርት የፓርላማ አባል parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal @@ -303,7 +300,7 @@ endName # foreignG name ; given; ሲንባድ -name ; locale; ko_AQ +name ; locale; ja_AQ expectedResult; ሲንባድ @@ -358,7 +355,7 @@ endName # foreignGS name ; given; ካቲ name ; surname; ሙለር -name ; locale; ko_AQ +name ; locale; ja_AQ expectedResult; ሙለር ካቲ @@ -417,12 +414,12 @@ parameters; givenFirst; short; monogram; informal endName # foreignGGS -name ; given; ዛዚላ +name ; given; ዛዚሊያ name ; given2; ሃሚሽ name ; surname; ስቶበር -name ; locale; ko_AQ +name ; locale; ja_AQ -expectedResult; ስቶበር ዛዚላ ሃሚሽ +expectedResult; ስቶበር ዛዚሊያ ሃሚሽ parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal @@ -443,7 +440,7 @@ parameters; sorting; medium; referring; informal parameters; sorting; short; referring; formal parameters; sorting; short; referring; informal -expectedResult; ዛዚላ ሃሚሽ ስቶበር +expectedResult; ዛዚሊያ ሃሚሽ ስቶበር parameters; givenFirst; long; referring; formal parameters; givenFirst; long; referring; informal @@ -482,15 +479,15 @@ endName name ; title; ፕ/ር ዶ/ር name ; given; አዳ ኮርኔሊያ name ; given-informal; ኒል -name ; given2; ኢቫ ሶፊያ -name ; surname-prefix; ቫን ደን +name ; given2; ሴዛር ማርቲን +name ; surname-prefix; ቮን name ; surname-core; ብሩህል name ; surname2; ጎንዛሌዝ ዶሚንጎ -name ; generation; ተማሪ -name ; credentials; ሚ/ዶ ዶ/ር -name ; locale; ko_AQ +name ; generation; ልጅ +name ; credentials; ዶ/ር የጥርስ ዶ/ር +name ; locale; ja_AQ -expectedResult; ቫን ደን ብሩህል ጎንዛሌዝ ዶሚንጎ, ፕ/ር ዶ/ር አዳ ኮርኔሊያ ኢቫ ሶፊያ ሚ/ዶ ዶ/ር +expectedResult; ቮን ብሩህል ጎንዛሌዝ ዶሚንጎ, ፕ/ር ዶ/ር አዳ ኮርኔሊያ ሴዛር ማርቲን ዶ/ር የጥርስ ዶ/ር parameters; sorting; long; referring; formal parameters; sorting; long; referring; informal @@ -499,7 +496,7 @@ parameters; sorting; medium; referring; informal parameters; sorting; short; referring; formal parameters; sorting; short; referring; informal -expectedResult; ቫን ደን ብሩህል ጎንዛሌዝ ዶሚንጎ ፕ/ር ዶ/ር አዳ ኮርኔሊያ ኢቫ ሶፊያ ሚ/ዶ ዶ/ር +expectedResult; ቮን ብሩህል ጎንዛሌዝ ዶሚንጎ ፕ/ር ዶ/ር አዳ ኮርኔሊያ ሴዛር ማርቲን ዶ/ር የጥርስ ዶ/ር parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal @@ -514,7 +511,7 @@ parameters; surnameFirst; short; referring; informal parameters; surnameFirst; short; addressing; formal parameters; surnameFirst; short; addressing; informal -expectedResult; ፕ/ር ዶ/ር አዳ ኮርኔሊያ ኢቫ ሶፊያ ቫን ደን ብሩህል ጎንዛሌዝ ዶሚንጎ ሚ/ዶ ዶ/ር +expectedResult; ፕ/ር ዶ/ር አዳ ኮርኔሊያ ሴዛር ማርቲን ቮን ብሩህል ጎንዛሌዝ ዶሚንጎ ዶ/ር የጥርስ ዶ/ር parameters; givenFirst; long; referring; formal parameters; givenFirst; long; referring; informal @@ -529,7 +526,7 @@ parameters; givenFirst; short; referring; informal parameters; givenFirst; short; addressing; formal parameters; givenFirst; short; addressing; informal -expectedResult; ቫአኢ +expectedResult; ቮአሴ parameters; surnameFirst; long; monogram; formal parameters; surnameFirst; long; monogram; informal @@ -538,7 +535,7 @@ parameters; surnameFirst; medium; monogram; informal parameters; surnameFirst; short; monogram; formal parameters; surnameFirst; short; monogram; informal -expectedResult; አኢቫ +expectedResult; አሴቮ parameters; givenFirst; long; monogram; formal parameters; givenFirst; long; monogram; informal diff --git a/common/testData/personNameTest/bal_Latn.txt b/common/testData/personNameTest/bal_Latn.txt new file mode 100644 index 00000000000..06f5121d91c --- /dev/null +++ b/common/testData/personNameTest/bal_Latn.txt @@ -0,0 +1,549 @@ +# Test data for Person Name Data +# Copyright © 1991-2024 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: bal_Latn +# +# Test lines have the following structure: +# +# enum ; ; (', ' below, the possible choices that could appear in the file. +# For example, could be any of title, given, … credentials. +# Verify that all of these values work with the implementation. +# +# name ; ('-') ; +# A sequence of these is to be used to build a person name object with the given field values. +# If the 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; +# This line follows a sequence of name lines, and indicates the that all the following parameter lines have this expected value. +# +# parameters; ; ; ; +# 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; Karima +name ; locale; bal_Latn_AQ + +expectedResult; Karima + +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; K + +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; Karima +name ; surname; Balóch +name ; locale; bal_Latn_AQ + +expectedResult; Balóch Karima + +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; Karima Balóch + +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 + +expectedResult; BK + +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 + +expectedResult; KB + +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 + +endName + +# nativeGGS +name ; given; Karima +name ; given2; Mehráb +name ; surname; Balóch +name ; locale; bal_Latn_AQ + +expectedResult; Balóch Karima Mehráb + +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; Karima Mehráb Balóch + +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 + +expectedResult; BKM + +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 + +expectedResult; KMB + +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 + +endName + +# nativeFull +name ; title; Wj. +name ; given; Monir Mómen +name ; given-informal; Ostád +name ; given2; Monir Mómen +name ; surname-core; Balóch +name ; generation; Jr +name ; locale; bal_Latn_AQ + +expectedResult; Balóch Wj. Monir Mómen Monir Mómen + +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; Wj. Monir Mómen Monir Mómen Balóch + +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 + +expectedResult; BMM + +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 + +expectedResult; MMB + +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 + +endName + +# foreignG +name ; given; Sinbad +name ; locale; ja_AQ + +expectedResult; Sinbad + +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; S + +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; Käthe +name ; surname; Müller +name ; locale; ja_AQ + +expectedResult; Käthe Müller + +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 + +expectedResult; Müller Käthe + +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; KM + +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 + +expectedResult; MK + +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 + +# foreignGGS +name ; given; Zäzilia +name ; given2; Hamish +name ; surname; Stöber +name ; locale; ja_AQ + +expectedResult; Stöber Zäzilia Hamish + +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; Zäzilia Hamish Stöber + +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 + +expectedResult; SZH + +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 + +expectedResult; ZHS + +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 + +endName + +# foreignFull +name ; title; Prop. Dr. +name ; given; Ada Cornelia +name ; given-informal; Neele +name ; given2; César Martín +name ; surname-prefix; von +name ; surname-core; Brühl +name ; surname2; González Domingo +name ; generation; Jr +name ; credentials; MD DDS +name ; locale; ja_AQ + +expectedResult; von Brühl González Domingo, Prop. Dr. Ada Cornelia César Martín MD DDS + +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; Prop. Dr. Ada Cornelia César Martín von Brühl González Domingo MD DDS + +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 + +expectedResult; von Brühl González Domingo Prop. Dr. Ada Cornelia César Martín MD DDS + +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 + +expectedResult; ACV + +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 + +expectedResult; VAC + +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 diff --git a/common/testData/personNameTest/ga.txt b/common/testData/personNameTest/ga.txt index eae720d2dd1..f805116bbb3 100644 --- a/common/testData/personNameTest/ga.txt +++ b/common/testData/personNameTest/ga.txt @@ -119,7 +119,6 @@ name ; locale; ga_AQ expectedResult; Adler, Irene -parameters; sorting; long; referring; formal parameters; sorting; long; referring; informal parameters; sorting; medium; referring; formal parameters; sorting; medium; referring; informal @@ -131,13 +130,17 @@ parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal parameters; surnameFirst; medium; referring; formal parameters; surnameFirst; medium; referring; informal +parameters; sorting; long; referring; formal expectedResult; Irene Adler 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 expectedResult; Adler, I. @@ -158,8 +161,6 @@ parameters; givenFirst; short; referring; informal expectedResult; Adler -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 @@ -167,7 +168,6 @@ parameters; surnameFirst; short; addressing; formal expectedResult; Irene -parameters; givenFirst; long; addressing; informal parameters; givenFirst; medium; addressing; informal parameters; givenFirst; short; addressing; informal parameters; surnameFirst; long; addressing; informal @@ -206,26 +206,24 @@ name ; given2; Seamas name ; surname; Watson name ; locale; ga_AQ -expectedResult; Watson, Seán Seamas - -parameters; sorting; long; referring; formal - expectedResult; Seán Seamas Watson 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; addressing; formal expectedResult; Watson Seán Seamas parameters; surnameFirst; long; referring; formal +parameters; sorting; long; referring; formal expectedResult; Watson, Seán S. parameters; sorting; medium; referring; formal -expectedResult; Seán S. Watson - -parameters; givenFirst; medium; referring; formal - expectedResult; Watson Seán S. parameters; surnameFirst; medium; referring; formal @@ -250,7 +248,6 @@ parameters; sorting; short; referring; informal expectedResult; Seán Watson -parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal expectedResult; Watson Seán @@ -268,8 +265,6 @@ parameters; givenFirst; short; referring; informal expectedResult; Watson -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 @@ -277,7 +272,6 @@ parameters; surnameFirst; short; addressing; formal expectedResult; Seán -parameters; givenFirst; long; addressing; informal parameters; givenFirst; medium; addressing; informal parameters; givenFirst; short; addressing; informal parameters; surnameFirst; long; addressing; informal @@ -323,13 +317,18 @@ name ; given2; Aoibhe Sophia name ; surname-core; de Bhulbh name ; locale; ga_AQ -expectedResult; de Bhulbh, Brigid Aoibhe Sophia +expectedResult; An tOll. An Dr. Brigid Aoibhe Sophia de Bhulbh -parameters; sorting; long; referring; formal +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; addressing; formal -expectedResult; Brigid Aoibhe Sophia de Bhulbh +expectedResult; de Bhulbh An tOll. An Dr. Brigid Aoibhe Sophia -parameters; givenFirst; long; referring; formal +parameters; sorting; long; referring; formal expectedResult; de Bhulbh Brigid Aoibhe Sophia @@ -337,8 +336,6 @@ parameters; surnameFirst; long; referring; formal expectedResult; An tOll. An Dr. de Bhulbh -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 @@ -348,10 +345,6 @@ expectedResult; de Bhulbh, Brigid A. S. parameters; sorting; medium; referring; formal -expectedResult; Brigid A. S. de Bhulbh - -parameters; givenFirst; medium; referring; formal - expectedResult; de Bhulbh Brigid A. S. parameters; surnameFirst; medium; referring; formal @@ -376,7 +369,6 @@ parameters; sorting; short; referring; informal expectedResult; Brigid de Bhulbh -parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal expectedResult; de Bhulbh Brigid @@ -394,7 +386,6 @@ parameters; surnameFirst; short; referring; informal expectedResult; Brigid -parameters; givenFirst; long; addressing; informal parameters; givenFirst; medium; addressing; informal parameters; givenFirst; short; addressing; informal parameters; surnameFirst; long; addressing; informal @@ -494,7 +485,6 @@ name ; locale; ko_AQ expectedResult; Müller, Käthe -parameters; sorting; long; referring; formal parameters; sorting; long; referring; informal parameters; sorting; medium; referring; formal parameters; sorting; medium; referring; informal @@ -504,8 +494,11 @@ expectedResult; Käthe Müller 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 expectedResult; Müller Käthe @@ -513,6 +506,7 @@ parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal parameters; surnameFirst; medium; referring; formal parameters; surnameFirst; medium; referring; informal +parameters; sorting; long; referring; formal expectedResult; Müller, K. @@ -533,8 +527,6 @@ parameters; givenFirst; short; referring; informal expectedResult; Müller -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 @@ -542,7 +534,6 @@ parameters; surnameFirst; short; addressing; formal expectedResult; Käthe -parameters; givenFirst; long; addressing; informal parameters; givenFirst; medium; addressing; informal parameters; givenFirst; short; addressing; informal parameters; surnameFirst; long; addressing; informal @@ -581,17 +572,19 @@ name ; given2; Hamish name ; surname; Stöber name ; locale; ko_AQ -expectedResult; Stöber, Zäzilia Hamish - -parameters; sorting; long; referring; formal - expectedResult; Stöber Zäzilia Hamish parameters; surnameFirst; long; referring; formal +parameters; sorting; long; referring; formal expectedResult; Zäzilia Hamish Stöber 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; addressing; formal expectedResult; Stöber, Zäzilia H. @@ -601,10 +594,6 @@ expectedResult; Stöber Zäzilia H. parameters; surnameFirst; medium; referring; formal -expectedResult; Zäzilia H. Stöber - -parameters; givenFirst; medium; referring; formal - expectedResult; Stöber, Zäzilia parameters; sorting; long; referring; informal @@ -618,7 +607,6 @@ parameters; surnameFirst; medium; referring; informal expectedResult; Zäzilia Stöber -parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal expectedResult; Stöber, Z. H. @@ -643,7 +631,6 @@ parameters; surnameFirst; short; referring; informal expectedResult; Zäzilia -parameters; givenFirst; long; addressing; informal parameters; givenFirst; medium; addressing; informal parameters; givenFirst; short; addressing; informal parameters; surnameFirst; long; addressing; informal @@ -652,8 +639,6 @@ parameters; surnameFirst; short; addressing; informal expectedResult; Stöber -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 @@ -703,26 +688,27 @@ name ; generation; Jr name ; credentials; M.D. Ph.D. name ; locale; ko_AQ -expectedResult; Ada Cornelia César Martín von Brühl M.D. Ph.D. +expectedResult; von Brühl González Domingo, Prof. Dr. Ada Cornelia César Martín M.D. Ph.D. + +parameters; sorting; long; referring; formal + +expectedResult; Prof. Dr. Ada Cornelia César Martín von Brühl González Domingo M.D. Ph.D. 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; addressing; formal expectedResult; von Brühl Ada Cornelia César Martín M.D. Ph.D. parameters; surnameFirst; long; referring; formal -expectedResult; Ada Cornelia C. M. von Brühl M.D. Ph.D. - -parameters; givenFirst; medium; referring; formal - expectedResult; von Brühl Ada Cornelia C. M. M.D. Ph.D. parameters; surnameFirst; medium; referring; formal -expectedResult; von Brühl, Ada Cornelia César Martín - -parameters; sorting; long; referring; formal - expectedResult; von Brühl, Ada Cornelia C. M. parameters; sorting; medium; referring; formal @@ -741,8 +727,6 @@ parameters; surnameFirst; short; referring; formal expectedResult; Prof. Dr. von Brühl -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 @@ -756,7 +740,6 @@ parameters; sorting; short; referring; informal expectedResult; Neele von Brühl -parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal expectedResult; von Brühl A. C. @@ -774,7 +757,6 @@ parameters; givenFirst; short; referring; informal expectedResult; Neele -parameters; givenFirst; long; addressing; informal parameters; givenFirst; medium; addressing; informal parameters; givenFirst; short; addressing; informal parameters; surnameFirst; long; addressing; informal diff --git a/common/testData/personNameTest/gd.txt b/common/testData/personNameTest/gd.txt index d2b1b8837d0..fb726f99a1b 100644 --- a/common/testData/personNameTest/gd.txt +++ b/common/testData/personNameTest/gd.txt @@ -119,6 +119,8 @@ name ; locale; gd_AQ expectedResult; Dhòmhnallach, Oighrig +parameters; surnameFirst; medium; referring; formal +parameters; surnameFirst; medium; referring; informal parameters; sorting; long; referring; formal parameters; sorting; long; referring; informal parameters; sorting; medium; referring; formal @@ -129,8 +131,6 @@ expectedResult; Dhòmhnallach Oighrig parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal -parameters; surnameFirst; medium; referring; formal -parameters; surnameFirst; medium; referring; informal expectedResult; Oighrig Dhòmhnallach @@ -142,11 +142,8 @@ parameters; givenFirst; short; addressing; formal expectedResult; Dhòmhnallach, O. -parameters; sorting; short; referring; formal - -expectedResult; Dhòmhnallach O. - parameters; surnameFirst; short; referring; formal +parameters; sorting; short; referring; formal expectedResult; O. Dhòmhnallach @@ -205,6 +202,7 @@ name ; locale; gd_AQ expectedResult; Caimbeul, Dòmhnall Iain Tormod +parameters; surnameFirst; medium; referring; informal parameters; sorting; long; referring; formal parameters; sorting; long; referring; informal @@ -212,7 +210,6 @@ expectedResult; Caimbeul Dòmhnall Iain Tormod parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal -parameters; surnameFirst; medium; referring; informal expectedResult; Dòmhnall Iain Tormod Caimbeul @@ -222,14 +219,11 @@ parameters; givenFirst; medium; referring; informal expectedResult; Caimbeul, Dòmhnall Iain T. +parameters; surnameFirst; medium; referring; formal parameters; sorting; medium; referring; formal parameters; sorting; medium; referring; informal parameters; sorting; short; referring; informal -expectedResult; Caimbeul Dòmhnall Iain T. - -parameters; surnameFirst; medium; referring; formal - expectedResult; Dòmhnall Iain T. Caimbeul parameters; givenFirst; medium; referring; formal @@ -247,11 +241,8 @@ parameters; surnameFirst; medium; addressing; informal expectedResult; Caimbeul, D. I. T. -parameters; sorting; short; referring; formal - -expectedResult; Caimbeul D. I. T. - parameters; surnameFirst; short; referring; formal +parameters; sorting; short; referring; formal expectedResult; D. I. T. Caimbeul @@ -317,7 +308,7 @@ name ; surname2; Chorùna name ; credentials; am post name ; locale; gd_AQ -expectedResult; Mac a’ Ghobhainn Chorùna Mgr. Dòmhnall Iain Bàn am post +expectedResult; Mac a’ Ghobhainn Chorùna, Mgr. Dòmhnall Iain Bàn am post parameters; surnameFirst; long; referring; formal @@ -325,15 +316,15 @@ expectedResult; Mgr. Dòmhnall Iain Bàn Mac a’ Ghobhainn Chorùna am post parameters; givenFirst; long; referring; formal -expectedResult; Dòmhnall Iain B. Mac a’ Ghobhainn am post +expectedResult; Mac a’ Ghobhainn, Dòmhnall Iain B. am post -parameters; givenFirst; medium; referring; formal +parameters; surnameFirst; medium; referring; formal -expectedResult; Mac a’ Ghobhainn Dòmhnall Iain B. am post +expectedResult; Dòmhnall Iain B. Mac a’ Ghobhainn am post -parameters; surnameFirst; medium; referring; formal +parameters; givenFirst; medium; referring; formal -expectedResult; Mac a’ Ghobhainn Chorùna Donaidh Bàn +expectedResult; Mac a’ Ghobhainn Chorùna, Donaidh Bàn parameters; surnameFirst; long; referring; informal @@ -351,6 +342,7 @@ parameters; givenFirst; short; addressing; formal expectedResult; Mac a’ Ghobhainn, Donaidh Bàn +parameters; surnameFirst; medium; referring; informal parameters; sorting; long; referring; informal expectedResult; Donaidh Bàn Mac a’ Ghobhainn @@ -358,10 +350,6 @@ expectedResult; Donaidh Bàn Mac a’ Ghobhainn parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal -expectedResult; Mac a’ Ghobhainn Donaidh Bàn - -parameters; surnameFirst; medium; referring; informal - expectedResult; Mac a’ Ghobhainn, Donaidh B. parameters; sorting; medium; referring; informal @@ -369,16 +357,13 @@ parameters; sorting; short; referring; informal expectedResult; Mac a’ Ghobhainn, D. I. B. +parameters; surnameFirst; short; referring; formal parameters; sorting; short; referring; formal expectedResult; D. I. B. Mac a’ Ghobhainn parameters; givenFirst; short; referring; formal -expectedResult; Mac a’ Ghobhainn D. I. B. - -parameters; surnameFirst; short; referring; formal - expectedResult; Mgr. Mac a’ Ghobhainn parameters; givenFirst; long; addressing; formal @@ -497,6 +482,8 @@ name ; locale; ja_AQ expectedResult; Miller, Kate +parameters; surnameFirst; medium; referring; formal +parameters; surnameFirst; medium; referring; informal parameters; sorting; long; referring; formal parameters; sorting; long; referring; informal parameters; sorting; medium; referring; formal @@ -515,21 +502,16 @@ expectedResult; Miller Kate parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal -parameters; surnameFirst; medium; referring; formal -parameters; surnameFirst; medium; referring; informal expectedResult; Miller, K. +parameters; surnameFirst; short; referring; formal parameters; sorting; short; referring; formal expectedResult; K. Miller parameters; givenFirst; short; referring; formal -expectedResult; Miller K. - -parameters; surnameFirst; short; referring; formal - expectedResult; Miller parameters; givenFirst; long; addressing; formal @@ -583,6 +565,7 @@ name ; locale; ja_AQ expectedResult; Smith, Cecilia Angela +parameters; surnameFirst; medium; referring; informal parameters; sorting; long; referring; formal parameters; sorting; long; referring; informal @@ -596,10 +579,10 @@ expectedResult; Smith Cecilia Angela parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal -parameters; surnameFirst; medium; referring; informal expectedResult; Smith, Cecilia A. +parameters; surnameFirst; medium; referring; formal parameters; sorting; medium; referring; formal parameters; sorting; medium; referring; informal parameters; sorting; short; referring; informal @@ -608,10 +591,6 @@ expectedResult; Cecilia A. Smith parameters; givenFirst; medium; referring; formal -expectedResult; Smith Cecilia A. - -parameters; surnameFirst; medium; referring; formal - expectedResult; Cecilia Angela parameters; givenFirst; long; addressing; informal @@ -625,16 +604,13 @@ parameters; givenFirst; short; addressing; formal expectedResult; Smith, C. A. +parameters; surnameFirst; short; referring; formal parameters; sorting; short; referring; formal expectedResult; C. A. Smith parameters; givenFirst; short; referring; formal -expectedResult; Smith C. A. - -parameters; surnameFirst; short; referring; formal - expectedResult; Cecilia A. parameters; givenFirst; short; referring; informal @@ -697,26 +673,26 @@ name ; generation; Jr name ; credentials; MD DDS name ; locale; ja_AQ +expectedResult; von Brühl González Domingo, Prof. Dr. Ada Cornelia César Martín Jr, MD DDS + +parameters; surnameFirst; long; referring; formal + expectedResult; Prof. Dr. Ada Cornelia César Martín von Brühl González Domingo Jr, MD DDS parameters; givenFirst; long; referring; formal -expectedResult; von Brühl González Domingo Prof. Dr. Ada Cornelia César Martín Jr, MD DDS +expectedResult; von Brühl González Domingo, Neele César Martín -parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; long; referring; informal -expectedResult; von Brühl González Domingo Neele César Martín +expectedResult; von Brühl, Ada Cornelia C. M. Jr, MD DDS -parameters; surnameFirst; long; referring; informal +parameters; surnameFirst; medium; referring; formal expectedResult; Ada Cornelia C. M. von Brühl Jr, MD DDS parameters; givenFirst; medium; referring; formal -expectedResult; von Brühl Ada Cornelia C. M. Jr, MD DDS - -parameters; surnameFirst; medium; referring; formal - expectedResult; Brühl, Ada Cornelia César Martín von parameters; sorting; long; referring; formal @@ -727,16 +703,16 @@ parameters; sorting; medium; referring; formal expectedResult; von Brühl, Neele César Martín -parameters; sorting; long; referring; informal +parameters; surnameFirst; medium; referring; informal expectedResult; Neele César Martín von Brühl parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal -expectedResult; von Brühl Neele César Martín +expectedResult; Brühl, Neele César Martín -parameters; surnameFirst; medium; referring; informal +parameters; sorting; long; referring; informal expectedResult; Ada Cornelia von Brühl @@ -746,19 +722,14 @@ expectedResult; Brühl, A. C. C. M. von parameters; sorting; short; referring; formal -expectedResult; von Brühl, Neele C. M. +expectedResult; von Brühl, A. C. C. M. -parameters; sorting; medium; referring; informal -parameters; sorting; short; referring; informal +parameters; surnameFirst; short; referring; formal expectedResult; A. C. C. M. von Brühl parameters; givenFirst; short; referring; formal -expectedResult; von Brühl A. C. C. M. - -parameters; surnameFirst; short; referring; formal - expectedResult; Prof. Dr. von Brühl parameters; givenFirst; long; addressing; formal @@ -767,6 +738,11 @@ parameters; surnameFirst; long; addressing; formal parameters; surnameFirst; medium; addressing; formal parameters; surnameFirst; short; addressing; formal +expectedResult; Brühl, Neele C. M. + +parameters; sorting; medium; referring; informal +parameters; sorting; short; referring; informal + expectedResult; Neele César Martín parameters; givenFirst; long; addressing; informal diff --git a/common/testData/personNameTest/ig.txt b/common/testData/personNameTest/ig.txt index c9a7755a26c..fc3362e4544 100644 --- a/common/testData/personNameTest/ig.txt +++ b/common/testData/personNameTest/ig.txt @@ -311,7 +311,7 @@ parameters; surnameFirst; short; monogram; informal endName # nativeFull -name ; title; Mr. +name ; title; Maazị name ; given; Christopher name ; given-informal; Chris name ; given2; Chukwudike @@ -320,11 +320,11 @@ name ; generation; Jr name ; credentials; MP name ; locale; ig_AQ -expectedResult; Amadi Mr. Christopher Chukwudike Jr, MP +expectedResult; Amadi Maazị Christopher Chukwudike Jr, MP parameters; surnameFirst; long; referring; formal -expectedResult; Mr. Christopher Chukwudike Amadi MP +expectedResult; Maazị Christopher Chukwudike Amadi MP parameters; givenFirst; long; referring; formal parameters; givenFirst; long; referring; informal @@ -371,7 +371,7 @@ expectedResult; Chris Amadi parameters; givenFirst; medium; referring; informal -expectedResult; Mr. Amadi +expectedResult; Maazị Amadi parameters; givenFirst; medium; addressing; formal parameters; givenFirst; short; addressing; formal diff --git a/common/testData/personNameTest/kn.txt b/common/testData/personNameTest/kn.txt index 9a773f820e4..e5be7c52b57 100644 --- a/common/testData/personNameTest/kn.txt +++ b/common/testData/personNameTest/kn.txt @@ -438,7 +438,7 @@ endName # foreignG name ; given; ಸಿನ್‍ಬಾದ್ -name ; locale; ko_AQ +name ; locale; ja_AQ expectedResult; ಸಿನ್‍ಬಾದ್ @@ -493,7 +493,7 @@ endName # foreignGS name ; given; ಕ್ಯಾಥಿ name ; surname; ಮಲ್ಲರ್ -name ; locale; ko_AQ +name ; locale; ja_AQ expectedResult; ಮಲ್ಲರ್, ಕ್ಯಾಥಿ @@ -582,7 +582,7 @@ endName name ; given; ಝಝಿಲಿಯಾ name ; given2; ಹಮಿಶ್ name ; surname; ಸ್ಟೋಬರ್ -name ; locale; ko_AQ +name ; locale; ja_AQ expectedResult; ಸ್ಟೋಬರ್, ಝಝಿಲಿಯಾ ಹಮಿಶ್ @@ -704,7 +704,7 @@ name ; surname-core; ಬ್ರಾಲ್ name ; surname2; ಗೊನ್ಸಾಲೀಸ್ ಡೊಮಿಂಗೊ name ; generation; ಜೂನಿಯರ್ name ; credentials; ಎಂ.ಡಿ ಡಿ.ಡಿ.ಎಸ್ -name ; locale; ko_AQ +name ; locale; ja_AQ expectedResult; ಪ್ರೊ. ಡಾ. ಅಡಾ ಕಾರ್ನೆಲಿಯಾ ಸಿಸಾರ್ ಮಾರ್ಟಿನ್ ವಾನ್ ಬ್ರಾಲ್ ಜೂನಿಯರ್, ಎಂ.ಡಿ ಡಿ.ಡಿ.ಎಸ್ diff --git a/common/testData/personNameTest/pcm.txt b/common/testData/personNameTest/pcm.txt new file mode 100644 index 00000000000..dae911e3870 --- /dev/null +++ b/common/testData/personNameTest/pcm.txt @@ -0,0 +1,783 @@ +# Test data for Person Name Data +# Copyright © 1991-2024 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: pcm +# +# Test lines have the following structure: +# +# enum ; ; (', ' below, the possible choices that could appear in the file. +# For example, could be any of title, given, … credentials. +# Verify that all of these values work with the implementation. +# +# name ; ('-') ; +# A sequence of these is to be used to build a person name object with the given field values. +# If the 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; +# This line follows a sequence of name lines, and indicates the that all the following parameter lines have this expected value. +# +# parameters; ; ; ; +# 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; Sinbad +name ; locale; pcm_AQ + +expectedResult; Sinbad + +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; S + +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; Irene +name ; surname; Adler +name ; locale; pcm_AQ + +expectedResult; Adler, Irene + +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; Adler Irene + +parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; long; referring; informal +parameters; surnameFirst; medium; referring; formal +parameters; surnameFirst; medium; referring; informal +parameters; surnameFirst; medium; addressing; formal +parameters; surnameFirst; short; addressing; formal + +expectedResult; Irene Adler + +parameters; givenFirst; long; referring; formal +parameters; givenFirst; long; referring; informal +parameters; givenFirst; medium; referring; formal +parameters; givenFirst; medium; referring; informal +parameters; givenFirst; medium; addressing; formal + +expectedResult; Adler, I. + +parameters; sorting; short; referring; formal + +expectedResult; Adler I. + +parameters; surnameFirst; short; referring; formal +parameters; surnameFirst; short; referring; informal + +expectedResult; I. Adler + +parameters; givenFirst; short; referring; formal + +expectedResult; Irene A. + +parameters; givenFirst; short; referring; informal + +expectedResult; Adler + +parameters; givenFirst; long; addressing; formal +parameters; givenFirst; short; addressing; formal +parameters; surnameFirst; long; addressing; formal + +expectedResult; Irene + +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; AI + +parameters; surnameFirst; long; monogram; formal +parameters; surnameFirst; long; monogram; informal + +expectedResult; IA + +parameters; givenFirst; long; monogram; formal +parameters; givenFirst; long; monogram; informal + +expectedResult; A + +parameters; givenFirst; medium; monogram; formal +parameters; givenFirst; short; monogram; formal +parameters; surnameFirst; medium; monogram; formal +parameters; surnameFirst; short; monogram; formal + +expectedResult; I + +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal +parameters; surnameFirst; medium; monogram; informal +parameters; surnameFirst; short; monogram; informal + +endName + +# nativeGGS +name ; given; John +name ; given2; Hámish +name ; surname; Watson +name ; locale; pcm_AQ + +expectedResult; Watson, John Hámish + +parameters; sorting; long; referring; formal +parameters; sorting; medium; referring; formal + +expectedResult; John Hámish Watson + +parameters; givenFirst; long; referring; formal +parameters; givenFirst; medium; referring; formal +parameters; givenFirst; medium; addressing; formal + +expectedResult; Watson John Hámish + +parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; medium; referring; formal +parameters; surnameFirst; medium; addressing; formal +parameters; surnameFirst; short; addressing; formal + +expectedResult; Watson, J.H. + +parameters; sorting; short; referring; formal + +expectedResult; Watson, John + +parameters; sorting; long; referring; informal +parameters; sorting; medium; referring; informal +parameters; sorting; short; referring; informal + +expectedResult; J.H. Watson + +parameters; givenFirst; short; referring; formal + +expectedResult; John Watson + +parameters; givenFirst; long; referring; informal +parameters; givenFirst; medium; referring; informal + +expectedResult; Watson J.H. + +parameters; surnameFirst; short; referring; formal + +expectedResult; Watson John + +parameters; surnameFirst; long; referring; informal +parameters; surnameFirst; medium; referring; informal + +expectedResult; Watson J. + +parameters; surnameFirst; short; referring; informal + +expectedResult; John W. + +parameters; givenFirst; short; referring; informal + +expectedResult; Watson + +parameters; givenFirst; long; addressing; formal +parameters; givenFirst; short; addressing; formal +parameters; surnameFirst; long; addressing; formal + +expectedResult; John + +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; JHW + +parameters; givenFirst; long; monogram; formal + +expectedResult; WJH + +parameters; surnameFirst; long; monogram; formal + +expectedResult; JW + +parameters; givenFirst; long; monogram; informal + +expectedResult; WJ + +parameters; surnameFirst; long; monogram; informal + +expectedResult; J + +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal +parameters; surnameFirst; medium; monogram; informal +parameters; surnameFirst; short; monogram; informal + +expectedResult; W + +parameters; givenFirst; medium; monogram; formal +parameters; givenFirst; short; monogram; formal +parameters; surnameFirst; medium; monogram; formal +parameters; surnameFirst; short; monogram; formal + +endName + +# nativeFull +name ; title; Mr. +name ; given; Elizabeth Windsor +name ; given-informal; Lilibet +name ; given2; Maria Teresa +name ; surname-prefix; bin +name ; surname-core; Stromae +name ; surname2; Robert +name ; generation; Jr. +name ; credentials; MP +name ; locale; pcm_AQ + +expectedResult; bin Stromae, Elizabeth Windsor Maria Teresa MP + +parameters; sorting; long; referring; formal +parameters; sorting; medium; referring; formal + +expectedResult; bin Stromae Elizabeth Windsor Maria Teresa MP + +parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; medium; referring; formal +parameters; surnameFirst; medium; addressing; formal +parameters; surnameFirst; short; addressing; formal + +expectedResult; Elizabeth Windsor Maria Teresa bin Stromae MP + +parameters; givenFirst; long; referring; formal +parameters; givenFirst; medium; referring; formal +parameters; givenFirst; medium; addressing; formal + +expectedResult; Stromae, E.W.M.T. bin + +parameters; sorting; short; referring; formal + +expectedResult; bin Stromae E.W.M.T. + +parameters; surnameFirst; short; referring; formal + +expectedResult; bin Stromae, Lilibet + +parameters; sorting; long; referring; informal +parameters; sorting; medium; referring; informal +parameters; sorting; short; referring; informal + +expectedResult; E.W.M.T. bin Stromae + +parameters; givenFirst; short; referring; formal + +expectedResult; bin Stromae Lilibet + +parameters; surnameFirst; long; referring; informal +parameters; surnameFirst; medium; referring; informal + +expectedResult; Lilibet bin Stromae + +parameters; givenFirst; long; referring; informal +parameters; givenFirst; medium; referring; informal + +expectedResult; bin Stromae E.W. + +parameters; surnameFirst; short; referring; informal + +expectedResult; Mr. bin Stromae + +parameters; givenFirst; long; addressing; formal +parameters; givenFirst; short; addressing; formal +parameters; surnameFirst; long; addressing; formal + +expectedResult; Lilibet b.S. + +parameters; givenFirst; short; referring; informal + +expectedResult; Lilibet + +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; BEM + +parameters; surnameFirst; long; monogram; formal + +expectedResult; EMB + +parameters; givenFirst; long; monogram; formal + +expectedResult; BL + +parameters; surnameFirst; long; monogram; informal + +expectedResult; LB + +parameters; givenFirst; long; monogram; informal + +expectedResult; B + +parameters; givenFirst; medium; monogram; formal +parameters; givenFirst; short; monogram; formal +parameters; surnameFirst; medium; monogram; formal +parameters; surnameFirst; short; monogram; formal + +expectedResult; L + +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal +parameters; surnameFirst; medium; monogram; informal +parameters; surnameFirst; short; monogram; informal + +endName + +# foreignG +name ; given; Miret +name ; locale; ko_AQ + +expectedResult; Miret + +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; M + +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; Katie +name ; surname; Stefan +name ; locale; ko_AQ + +expectedResult; Stefan, Katie + +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; Katie Stefan + +parameters; givenFirst; long; referring; formal +parameters; givenFirst; long; referring; informal +parameters; givenFirst; medium; referring; formal +parameters; givenFirst; medium; referring; informal +parameters; givenFirst; medium; addressing; formal + +expectedResult; Stefan Katie + +parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; long; referring; informal +parameters; surnameFirst; medium; referring; formal +parameters; surnameFirst; medium; referring; informal +parameters; surnameFirst; medium; addressing; formal +parameters; surnameFirst; short; addressing; formal + +expectedResult; Stefan, K. + +parameters; sorting; short; referring; formal + +expectedResult; K. Stefan + +parameters; givenFirst; short; referring; formal + +expectedResult; Stefan K. + +parameters; surnameFirst; short; referring; formal +parameters; surnameFirst; short; referring; informal + +expectedResult; Katie S. + +parameters; givenFirst; short; referring; informal + +expectedResult; Stefan + +parameters; givenFirst; long; addressing; formal +parameters; givenFirst; short; addressing; formal +parameters; surnameFirst; long; addressing; formal + +expectedResult; Katie + +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; KS + +parameters; givenFirst; long; monogram; formal +parameters; givenFirst; long; monogram; informal + +expectedResult; SK + +parameters; surnameFirst; long; monogram; formal +parameters; surnameFirst; long; monogram; informal + +expectedResult; K + +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal +parameters; surnameFirst; medium; monogram; informal +parameters; surnameFirst; short; monogram; informal + +expectedResult; S + +parameters; givenFirst; medium; monogram; formal +parameters; givenFirst; short; monogram; formal +parameters; surnameFirst; medium; monogram; formal +parameters; surnameFirst; short; monogram; formal + +endName + +# foreignGGS +name ; given; Tunde +name ; given2; Seun +name ; surname; Okeke +name ; locale; ko_AQ + +expectedResult; Okeke, Tunde Seun + +parameters; sorting; long; referring; formal +parameters; sorting; medium; referring; formal + +expectedResult; Okeke Tunde Seun + +parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; medium; referring; formal +parameters; surnameFirst; medium; addressing; formal +parameters; surnameFirst; short; addressing; formal + +expectedResult; Tunde Seun Okeke + +parameters; givenFirst; long; referring; formal +parameters; givenFirst; medium; referring; formal +parameters; givenFirst; medium; addressing; formal + +expectedResult; Okeke, Tunde + +parameters; sorting; long; referring; informal +parameters; sorting; medium; referring; informal +parameters; sorting; short; referring; informal + +expectedResult; Okeke Tunde + +parameters; surnameFirst; long; referring; informal +parameters; surnameFirst; medium; referring; informal + +expectedResult; Okeke, T.S. + +parameters; sorting; short; referring; formal + +expectedResult; Tunde Okeke + +parameters; givenFirst; long; referring; informal +parameters; givenFirst; medium; referring; informal + +expectedResult; Okeke T.S. + +parameters; surnameFirst; short; referring; formal + +expectedResult; T.S. Okeke + +parameters; givenFirst; short; referring; formal + +expectedResult; Okeke T. + +parameters; surnameFirst; short; referring; informal + +expectedResult; Tunde O. + +parameters; givenFirst; short; referring; informal + +expectedResult; Okeke + +parameters; givenFirst; long; addressing; formal +parameters; givenFirst; short; addressing; formal +parameters; surnameFirst; long; addressing; formal + +expectedResult; Tunde + +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; OTS + +parameters; surnameFirst; long; monogram; formal + +expectedResult; TSO + +parameters; givenFirst; long; monogram; formal + +expectedResult; OT + +parameters; surnameFirst; long; monogram; informal + +expectedResult; TO + +parameters; givenFirst; long; monogram; informal + +expectedResult; O + +parameters; givenFirst; medium; monogram; formal +parameters; givenFirst; short; monogram; formal +parameters; surnameFirst; medium; monogram; formal +parameters; surnameFirst; short; monogram; formal + +expectedResult; T + +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal +parameters; surnameFirst; medium; monogram; informal +parameters; surnameFirst; short; monogram; informal + +endName + +# foreignFull +name ; title; Prọf. Dọk. +name ; given; Adá Cornelia +name ; given-informal; Néele +name ; given2; Ẹ́va Sophia +name ; surname-prefix; ván den +name ; surname-core; Wólf +name ; surname2; Bécker Schmidt +name ; generation; jẹnereṣọn +name ; credentials; M.D. PhD. +name ; locale; ko_AQ + +expectedResult; ván den Wólf, Adá Cornelia Ẹ́va Sophia M.D. PhD. + +parameters; sorting; long; referring; formal +parameters; sorting; medium; referring; formal + +expectedResult; Adá Cornelia Ẹ́va Sophia ván den Wólf M.D. PhD. + +parameters; givenFirst; long; referring; formal +parameters; givenFirst; medium; referring; formal +parameters; givenFirst; medium; addressing; formal + +expectedResult; ván den Wólf Adá Cornelia Ẹ́va Sophia M.D. PhD. + +parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; medium; referring; formal +parameters; surnameFirst; medium; addressing; formal +parameters; surnameFirst; short; addressing; formal + +expectedResult; Prọf. Dọk. ván den Wólf + +parameters; givenFirst; long; addressing; formal +parameters; givenFirst; short; addressing; formal +parameters; surnameFirst; long; addressing; formal + +expectedResult; Wólf, A.C.Ẹ́.S. ván den + +parameters; sorting; short; referring; formal + +expectedResult; A.C.Ẹ́.S. ván den Wólf + +parameters; givenFirst; short; referring; formal + +expectedResult; ván den Wólf A.C.Ẹ́.S. + +parameters; surnameFirst; short; referring; formal + +expectedResult; ván den Wólf, Néele + +parameters; sorting; long; referring; informal +parameters; sorting; medium; referring; informal +parameters; sorting; short; referring; informal + +expectedResult; Néele ván den Wólf + +parameters; givenFirst; long; referring; informal +parameters; givenFirst; medium; referring; informal + +expectedResult; ván den Wólf Néele + +parameters; surnameFirst; long; referring; informal +parameters; surnameFirst; medium; referring; informal + +expectedResult; ván den Wólf A.C. + +parameters; surnameFirst; short; referring; informal + +expectedResult; Néele v.d.W. + +parameters; givenFirst; short; referring; informal + +expectedResult; Néele + +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; AẸ́V + +parameters; givenFirst; long; monogram; formal + +expectedResult; VAẸ́ + +parameters; surnameFirst; long; monogram; formal + +expectedResult; NV + +parameters; givenFirst; long; monogram; informal + +expectedResult; VN + +parameters; surnameFirst; long; monogram; informal + +expectedResult; N + +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal +parameters; surnameFirst; medium; monogram; informal +parameters; surnameFirst; short; monogram; informal + +expectedResult; V + +parameters; givenFirst; medium; monogram; formal +parameters; givenFirst; short; monogram; formal +parameters; surnameFirst; medium; monogram; formal +parameters; surnameFirst; short; monogram; formal + +endName diff --git a/common/testData/personNameTest/so.txt b/common/testData/personNameTest/so.txt index a9ef691e95f..45b20e28946 100644 --- a/common/testData/personNameTest/so.txt +++ b/common/testData/personNameTest/so.txt @@ -312,67 +312,62 @@ endName # nativeFull name ; title; Mudane -name ; given; Abdi Taban -name ; given-informal; Shermake -name ; given2; Nadifa Maxamed -name ; surname-core; Iman +name ; given; Bertram Wilberforce +name ; given-informal; Bertie +name ; given2; Henry Robert +name ; surname-core; Wooster name ; generation; Jr name ; credentials; MP name ; locale; so_AQ -expectedResult; Iman Mudane Abdi Taban Nadifa Maxamed Jr, MP +expectedResult; Wooster Mudane Bertram Wilberforce Henry Robert Jr, MP parameters; surnameFirst; long; referring; formal -expectedResult; Mudane Abdi Taban Nadifa Maxamed Iman MP +expectedResult; Mudane Bertram Wilberforce Henry Robert Wooster MP parameters; givenFirst; long; referring; formal -expectedResult; Iman, Abdi Taban Nadifa Maxamed +expectedResult; Wooster, Bertram Wilberforce Henry Robert parameters; sorting; long; referring; formal -expectedResult; Abdi Taban N. M. Iman MP +expectedResult; Bertram Wilberforce H. R. Wooster MP parameters; givenFirst; medium; referring; formal -expectedResult; Iman Abdi Taban N. M. MP +expectedResult; Wooster Bertram Wilberforce H. R. MP parameters; surnameFirst; medium; referring; formal -expectedResult; Iman, Abdi Taban N. M. +expectedResult; Wooster, Bertram Wilberforce H. R. parameters; sorting; medium; referring; formal -expectedResult; Iman, A. T. N. M. +expectedResult; Wooster, B. W. H. R. parameters; sorting; short; referring; formal -expectedResult; A. T. N. M. Iman +expectedResult; B. W. H. R. Wooster parameters; givenFirst; short; referring; formal -expectedResult; Iman A. T. N. M. +expectedResult; Wooster B. W. H. R. parameters; surnameFirst; short; referring; formal -expectedResult; Iman, Shermake +expectedResult; Wooster, Bertie parameters; sorting; long; referring; informal parameters; sorting; medium; referring; informal parameters; sorting; short; referring; informal -expectedResult; Iman Shermake - -parameters; surnameFirst; long; referring; informal -parameters; surnameFirst; medium; referring; informal - -expectedResult; Shermake Iman +expectedResult; Bertie Wooster parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal -expectedResult; Mudane Iman +expectedResult; Mudane Wooster parameters; givenFirst; long; addressing; formal parameters; givenFirst; medium; addressing; formal @@ -381,15 +376,20 @@ parameters; surnameFirst; long; addressing; formal parameters; surnameFirst; medium; addressing; formal parameters; surnameFirst; short; addressing; formal -expectedResult; Shermake I. +expectedResult; Wooster Bertie -parameters; givenFirst; short; referring; informal +parameters; surnameFirst; long; referring; informal +parameters; surnameFirst; medium; referring; informal -expectedResult; Iman A. T. +expectedResult; Wooster B. W. parameters; surnameFirst; short; referring; informal -expectedResult; Shermake +expectedResult; Bertie W. + +parameters; givenFirst; short; referring; informal + +expectedResult; Bertie parameters; givenFirst; long; addressing; informal parameters; givenFirst; medium; addressing; informal @@ -398,36 +398,36 @@ parameters; surnameFirst; long; addressing; informal parameters; surnameFirst; medium; addressing; informal parameters; surnameFirst; short; addressing; informal -expectedResult; ANI +expectedResult; BHW parameters; givenFirst; long; monogram; formal -expectedResult; IAN +expectedResult; WBH parameters; surnameFirst; long; monogram; formal -expectedResult; IS - -parameters; surnameFirst; long; monogram; informal - -expectedResult; SI +expectedResult; BW parameters; givenFirst; long; monogram; informal -expectedResult; I +expectedResult; WB -parameters; givenFirst; medium; monogram; formal -parameters; givenFirst; short; monogram; formal -parameters; surnameFirst; medium; monogram; formal -parameters; surnameFirst; short; monogram; formal +parameters; surnameFirst; long; monogram; informal -expectedResult; S +expectedResult; B parameters; givenFirst; medium; monogram; informal parameters; givenFirst; short; monogram; informal parameters; surnameFirst; medium; monogram; informal parameters; surnameFirst; short; monogram; informal +expectedResult; W + +parameters; givenFirst; medium; monogram; formal +parameters; givenFirst; short; monogram; formal +parameters; surnameFirst; medium; monogram; formal +parameters; surnameFirst; short; monogram; formal + endName # foreignG diff --git a/common/testData/personNameTest/sv.txt b/common/testData/personNameTest/sv.txt index 22fd9cb9c67..0eabfb3175e 100644 --- a/common/testData/personNameTest/sv.txt +++ b/common/testData/personNameTest/sv.txt @@ -687,45 +687,45 @@ endName # foreignFull name ; title; Prof. dr. -name ; given; Ann-Christine -name ; given-informal; Anki -name ; given2; Eva Sofia -name ; surname-prefix; van den -name ; surname-core; Karlsson -name ; surname2; Beck Strand +name ; given; Ada Cornelia +name ; given-informal; Neele +name ; given2; César Martín +name ; surname-prefix; von +name ; surname-core; Brühl +name ; surname2; González Domingo name ; generation; jr. name ; credentials; med. dr. fil. dr. jur. dr. name ; locale; ko_AQ -expectedResult; med. dr. fil. dr. jur. dr. Ann-Christine Eva Sofia van den Karlsson Beck Strand +expectedResult; med. dr. fil. dr. jur. dr. Ada Cornelia César Martín von Brühl González Domingo parameters; givenFirst; long; referring; formal -expectedResult; van den Karlsson, Prof. dr. Ann-Christine Eva Sofia, med. dr. fil. dr. jur. dr. +expectedResult; von Brühl, Prof. dr. Ada Cornelia César Martín, med. dr. fil. dr. jur. dr. parameters; surnameFirst; long; referring; formal -expectedResult; van den Karlsson, Ann-Christine E S, med. dr. fil. dr. jur. dr. +expectedResult; von Brühl, Ada Cornelia C M, med. dr. fil. dr. jur. dr. parameters; surnameFirst; medium; referring; formal -expectedResult; med. dr. fil. dr. jur. dr. Ann-Christine E S van den Karlsson +expectedResult; med. dr. fil. dr. jur. dr. Ada Cornelia C M von Brühl parameters; givenFirst; medium; referring; formal -expectedResult; van den Karlsson Beck Strand, Ann-Christine Eva Sofia +expectedResult; von Brühl González Domingo, Ada Cornelia César Martín parameters; sorting; long; referring; formal -expectedResult; van den Karlsson Beck Strand, Ann-Christine E S +expectedResult; von Brühl González Domingo, Ada Cornelia C M parameters; sorting; medium; referring; formal -expectedResult; van den Karlsson Beck Strand, A C E S +expectedResult; von Brühl González Domingo, A C C M parameters; sorting; short; referring; formal -expectedResult; Prof. dr. van den Karlsson +expectedResult; Prof. dr. von Brühl parameters; givenFirst; long; addressing; formal parameters; givenFirst; medium; addressing; formal @@ -734,15 +734,15 @@ parameters; surnameFirst; long; addressing; formal parameters; surnameFirst; medium; addressing; formal parameters; surnameFirst; short; addressing; formal -expectedResult; van den Karlsson, A C E S +expectedResult; von Brühl, A C C M parameters; surnameFirst; short; referring; formal -expectedResult; A C E S van den Karlsson +expectedResult; A C C M von Brühl parameters; givenFirst; short; referring; formal -expectedResult; van den Karlsson, Anki +expectedResult; von Brühl, Neele parameters; surnameFirst; long; referring; informal parameters; surnameFirst; medium; referring; informal @@ -750,20 +750,20 @@ parameters; sorting; long; referring; informal parameters; sorting; medium; referring; informal parameters; sorting; short; referring; informal -expectedResult; Anki van den Karlsson +expectedResult; Neele von Brühl parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal -expectedResult; van den Karlsson, A C +expectedResult; von Brühl, A C parameters; surnameFirst; short; referring; informal -expectedResult; Anki v d K +expectedResult; Neele v B parameters; givenFirst; short; referring; informal -expectedResult; Anki +expectedResult; Neele parameters; givenFirst; long; addressing; informal parameters; givenFirst; medium; addressing; informal @@ -772,27 +772,27 @@ parameters; surnameFirst; long; addressing; informal parameters; surnameFirst; medium; addressing; informal parameters; surnameFirst; short; addressing; informal -expectedResult; AEV +expectedResult; ACV parameters; givenFirst; long; monogram; formal parameters; givenFirst; medium; monogram; formal -expectedResult; VAE +expectedResult; VAC parameters; surnameFirst; long; monogram; formal parameters; surnameFirst; long; monogram; informal parameters; surnameFirst; medium; monogram; formal -expectedResult; AV +expectedResult; NV parameters; givenFirst; long; monogram; informal parameters; givenFirst; medium; monogram; informal -expectedResult; VA +expectedResult; VN parameters; surnameFirst; medium; monogram; informal -expectedResult; A +expectedResult; N parameters; givenFirst; short; monogram; informal parameters; surnameFirst; short; monogram; informal diff --git a/common/testData/personNameTest/ti.txt b/common/testData/personNameTest/ti.txt index 272692bd8d9..f0c2bc6014b 100644 --- a/common/testData/personNameTest/ti.txt +++ b/common/testData/personNameTest/ti.txt @@ -119,9 +119,13 @@ name ; locale; ti_AQ expectedResult; ኣድለር, ኣይሪን -parameters; sorting; long; referring; formal +parameters; sorting; long; referring; informal parameters; sorting; medium; referring; formal parameters; sorting; medium; referring; informal + +expectedResult; ኣድለር፣ ኣይሪን + +parameters; sorting; long; referring; formal parameters; sorting; short; referring; formal parameters; sorting; short; referring; informal @@ -131,7 +135,6 @@ parameters; givenFirst; long; referring; formal parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; formal parameters; givenFirst; medium; referring; informal -parameters; givenFirst; short; referring; formal expectedResult; ኣድለር ኣይሪን @@ -139,9 +142,10 @@ parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal parameters; surnameFirst; medium; referring; formal parameters; surnameFirst; medium; referring; informal -parameters; surnameFirst; short; referring; formal -parameters; surnameFirst; short; addressing; formal -parameters; sorting; long; referring; informal + +expectedResult; ኣ. ኣድለር + +parameters; givenFirst; short; referring; formal expectedResult; ኣይሪን ኣ. @@ -149,6 +153,7 @@ parameters; givenFirst; short; referring; informal expectedResult; ኣድለር ኣ. +parameters; surnameFirst; short; referring; formal parameters; surnameFirst; short; referring; informal expectedResult; ኣይሪን @@ -167,20 +172,21 @@ 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 +parameters; givenFirst; long; monogram; informal +parameters; givenFirst; medium; monogram; formal parameters; givenFirst; short; monogram; formal -parameters; givenFirst; short; monogram; informal parameters; surnameFirst; long; monogram; formal parameters; surnameFirst; long; monogram; 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; informal parameters; surnameFirst; medium; monogram; formal parameters; surnameFirst; medium; monogram; informal parameters; surnameFirst; short; monogram; formal @@ -194,23 +200,27 @@ name ; given2; ሃሚሽ name ; surname; ዋትሰን name ; locale; ti_AQ -expectedResult; ዋትሰን, ሜሪ ሱ ሃሚሽ +expectedResult; ዋትሰን፣ ሜሪ ሱ ሃሚሽ parameters; sorting; long; referring; formal parameters; sorting; short; referring; formal parameters; sorting; short; referring; informal +expectedResult; ሜ. ሱ. ሃ. ዋትሰን + +parameters; givenFirst; short; referring; formal + expectedResult; ሜሪ ሱ ሃሚሽ ዋትሰን parameters; givenFirst; long; referring; formal -parameters; givenFirst; short; referring; formal + +expectedResult; ዋትሰን ሜ. ሱ. ሃ. + +parameters; surnameFirst; short; referring; formal expectedResult; ዋትሰን ሜሪ ሱ ሃሚሽ parameters; surnameFirst; long; referring; formal -parameters; surnameFirst; short; referring; formal -parameters; surnameFirst; short; addressing; formal -parameters; sorting; long; referring; informal expectedResult; ዋትሰን, ሜሪ ሱ ሃ. @@ -230,6 +240,7 @@ parameters; surnameFirst; short; referring; informal expectedResult; ዋትሰን, ሜሪ ሱ +parameters; sorting; long; referring; informal parameters; sorting; medium; referring; informal expectedResult; ሜሪ ሱ ዋትሰን @@ -262,31 +273,35 @@ 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 +parameters; givenFirst; medium; monogram; formal parameters; givenFirst; short; monogram; formal -parameters; givenFirst; short; monogram; informal expectedResult; ዋሜሃ parameters; surnameFirst; long; monogram; formal +expectedResult; ሜዋ + +parameters; givenFirst; long; monogram; informal + expectedResult; ዋሜ parameters; surnameFirst; long; monogram; informal expectedResult; ሜ +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal parameters; surnameFirst; medium; monogram; informal parameters; surnameFirst; short; monogram; informal expectedResult; ዋ -parameters; givenFirst; long; monogram; formal -parameters; givenFirst; long; monogram; informal -parameters; givenFirst; medium; monogram; formal -parameters; givenFirst; medium; monogram; informal parameters; surnameFirst; medium; monogram; formal parameters; surnameFirst; short; monogram; formal @@ -302,30 +317,23 @@ name ; generation; ማንጁስ name ; credentials; ኣባል ባይቶ name ; locale; ti_AQ -expectedResult; ኣይተ ዉስተር በርትረም ዊልበርፎርስ ሄንሪ ሮበርት ማንጁስ, ኣባል ባይቶ - -parameters; surnameFirst; long; referring; formal -parameters; surnameFirst; short; addressing; formal - -expectedResult; ኣይተ በርትረም ዊልበርፎርስ ሄንሪ ሮበርት ዉስተር ኣባል ባይቶ +expectedResult; ኣይተ በርትረም ዊልበርፎርስ ሄንሪ ሮበርት ዉስተር ማንጁስ፣ ኣባል ባይቶ parameters; givenFirst; long; referring; formal -parameters; givenFirst; short; referring; formal -expectedResult; ዉስተር ኣይተ በርትረም ዊልበርፎርስ ሄንሪ ሮበርት ኣባል ባይቶ +expectedResult; ዉስተር ኣይተ በርትረም ዊልበርፎርስ ሄንሪ ሮበርት ማንጁስ፣ ኣባል ባይቶ -parameters; surnameFirst; short; referring; formal -parameters; sorting; long; referring; informal +parameters; surnameFirst; long; referring; formal -expectedResult; በርትረም ዊልበርፎርስ ሄ. ሮ. ዉስተር ማንጁስ, ኣባል ባይቶ +expectedResult; በርትረም ዊልበርፎርስ ሄ. ሮ. ዉስተር ማንጁስ፣ ኣባል ባይቶ parameters; givenFirst; medium; referring; formal -expectedResult; ዉስተር በርትረም ዊልበርፎርስ ሄ. ሮ. ማንጁስ, ኣባል ባይቶ +expectedResult; ዉስተር በርትረም ዊልበርፎርስ ሄ. ሮ. ማንጁስ፣ ኣባል ባይቶ parameters; surnameFirst; medium; referring; formal -expectedResult; ዉስተር, በርትረም ዊልበርፎርስ ሄንሪ ሮበርት +expectedResult; ዉስተር፣ በርትረም ዊልበርፎርስ ሄንሪ ሮበርት parameters; sorting; long; referring; formal parameters; sorting; short; referring; formal @@ -335,12 +343,21 @@ expectedResult; ዉስተር, በርትረም ዊልበርፎርስ ሄ. ሮ. parameters; sorting; medium; referring; formal +expectedResult; በ. ዊ. ሄ. ሮ. ዉስተር + +parameters; givenFirst; short; referring; formal + +expectedResult; ዉስተር በ. ዊ. ሄ. ሮ. + +parameters; surnameFirst; short; referring; formal + expectedResult; ዉስተር በ. ዊ. parameters; surnameFirst; short; referring; informal expectedResult; ዉስተር, በርቲ +parameters; sorting; long; referring; informal parameters; sorting; medium; referring; informal expectedResult; በርቲ ዉስተር @@ -355,6 +372,7 @@ 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; ዉስተር በርቲ @@ -367,8 +385,9 @@ parameters; givenFirst; short; referring; informal expectedResult; በሄዉ +parameters; givenFirst; long; monogram; formal +parameters; givenFirst; medium; monogram; formal parameters; givenFirst; short; monogram; formal -parameters; givenFirst; short; monogram; informal expectedResult; በርቲ @@ -383,21 +402,23 @@ expectedResult; ዉበሄ parameters; surnameFirst; long; monogram; formal +expectedResult; በዉ + +parameters; givenFirst; long; monogram; informal + expectedResult; ዉበ parameters; surnameFirst; long; monogram; informal expectedResult; በ +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal parameters; surnameFirst; medium; monogram; informal parameters; surnameFirst; short; monogram; informal expectedResult; ዉ -parameters; givenFirst; long; monogram; formal -parameters; givenFirst; long; monogram; informal -parameters; givenFirst; medium; monogram; formal -parameters; givenFirst; medium; monogram; informal parameters; surnameFirst; medium; monogram; formal parameters; surnameFirst; short; monogram; formal @@ -405,7 +426,7 @@ endName # foreignG name ; given; ሲንባድ -name ; locale; ko_AQ +name ; locale; ja_AQ expectedResult; ሲንባድ @@ -460,18 +481,23 @@ endName # foreignGS name ; given; ካቲ name ; surname; ሙለር -name ; locale; ko_AQ +name ; locale; ja_AQ expectedResult; ሙለር, ካቲ -parameters; sorting; long; referring; formal +parameters; sorting; long; referring; informal parameters; sorting; medium; referring; formal parameters; sorting; medium; referring; informal + +expectedResult; ሙለር፣ ካቲ + +parameters; sorting; long; referring; formal parameters; sorting; short; referring; formal parameters; sorting; short; referring; informal expectedResult; ሙለር ካ. +parameters; surnameFirst; short; referring; formal parameters; surnameFirst; short; referring; informal expectedResult; ሙለር ካቲ @@ -480,9 +506,10 @@ parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal parameters; surnameFirst; medium; referring; formal parameters; surnameFirst; medium; referring; informal -parameters; surnameFirst; short; referring; formal -parameters; surnameFirst; short; addressing; formal -parameters; sorting; long; referring; informal + +expectedResult; ካ. ሙለር + +parameters; givenFirst; short; referring; formal expectedResult; ካቲ ሙለር @@ -490,7 +517,6 @@ parameters; givenFirst; long; referring; formal parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; formal parameters; givenFirst; medium; referring; informal -parameters; givenFirst; short; referring; formal expectedResult; ካቲ ሙ. @@ -503,6 +529,7 @@ 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; ሙካ @@ -511,8 +538,10 @@ parameters; surnameFirst; long; monogram; informal expectedResult; ካሙ +parameters; givenFirst; long; monogram; formal +parameters; givenFirst; long; monogram; informal +parameters; givenFirst; medium; monogram; formal parameters; givenFirst; short; monogram; formal -parameters; givenFirst; short; monogram; informal expectedResult; ካቲ @@ -525,15 +554,13 @@ parameters; surnameFirst; short; addressing; informal expectedResult; ሙ -parameters; givenFirst; long; monogram; formal -parameters; givenFirst; long; monogram; informal -parameters; givenFirst; medium; monogram; formal -parameters; givenFirst; medium; monogram; informal parameters; surnameFirst; medium; monogram; formal parameters; surnameFirst; short; monogram; formal expectedResult; ካ +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal parameters; surnameFirst; medium; monogram; informal parameters; surnameFirst; short; monogram; informal @@ -543,9 +570,9 @@ endName name ; given; ዛዚሊያ name ; given2; ሃሚሽ name ; surname; ስቶበር -name ; locale; ko_AQ +name ; locale; ja_AQ -expectedResult; ስቶበር, ዛዚሊያ ሃሚሽ +expectedResult; ስቶበር፣ ዛዚሊያ ሃሚሽ parameters; sorting; long; referring; formal parameters; sorting; short; referring; formal @@ -554,9 +581,6 @@ parameters; sorting; short; referring; informal expectedResult; ስቶበር ዛዚሊያ ሃሚሽ parameters; surnameFirst; long; referring; formal -parameters; surnameFirst; short; referring; formal -parameters; surnameFirst; short; addressing; formal -parameters; sorting; long; referring; informal expectedResult; ስቶበር, ዛዚሊያ ሃ. @@ -565,7 +589,6 @@ parameters; sorting; medium; referring; formal expectedResult; ዛዚሊያ ሃሚሽ ስቶበር parameters; givenFirst; long; referring; formal -parameters; givenFirst; short; referring; formal expectedResult; ስቶበር ዛዚሊያ ሃ. @@ -575,10 +598,19 @@ expectedResult; ዛዚሊያ ሃ. ስቶበር parameters; givenFirst; medium; referring; formal +expectedResult; ስቶበር ዛ. ሃ. + +parameters; surnameFirst; short; referring; formal + expectedResult; ስቶበር, ዛዚሊያ +parameters; sorting; long; referring; informal parameters; sorting; medium; referring; informal +expectedResult; ዛ. ሃ. ስቶበር + +parameters; givenFirst; short; referring; formal + expectedResult; ስቶበር ዛዚሊያ parameters; surnameFirst; long; referring; informal @@ -604,6 +636,7 @@ 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; ዛዚሊያ @@ -620,24 +653,27 @@ parameters; surnameFirst; long; monogram; formal expectedResult; ዛሃስ +parameters; givenFirst; long; monogram; formal +parameters; givenFirst; medium; monogram; formal parameters; givenFirst; short; monogram; formal -parameters; givenFirst; short; monogram; informal expectedResult; ስዛ parameters; surnameFirst; long; monogram; informal -expectedResult; ስ +expectedResult; ዛስ -parameters; givenFirst; long; monogram; formal parameters; givenFirst; long; monogram; informal -parameters; givenFirst; medium; monogram; formal -parameters; givenFirst; medium; monogram; informal + +expectedResult; ስ + parameters; surnameFirst; medium; monogram; formal parameters; surnameFirst; short; monogram; formal expectedResult; ዛ +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal parameters; surnameFirst; medium; monogram; informal parameters; surnameFirst; short; monogram; informal @@ -653,35 +689,25 @@ name ; surname-core; ብሩሂ name ; surname2; ጎንዛሌዝ ዶሚንጐ name ; generation; ማንጁስ name ; credentials; ሓኪም መጥባሕቲ ስኒ -name ; locale; ko_AQ +name ; locale; ja_AQ -expectedResult; ቮን ብሩሂ ጎንዛሌዝ ዶሚንጐ, ፕሮ. ዶር. ኣዳ ኮርኒሊያ ሲዘር ማርቲን ሓኪም መጥባሕቲ ስኒ - -parameters; sorting; long; referring; informal +expectedResult; ቮን ብሩሂ ፕሮ. ዶር. ኣዳ ኮርኒሊያ ሲዘር ማርቲን ማንጁስ፣ ሓኪም መጥባሕቲ ስኒ -expectedResult; ቮን ብሩሂ ጎንዛሌዝ ዶሚንጐ ፕሮ. ዶር. ኣዳ ኮርኒሊያ ሲዘር ማርቲን ሓኪም መጥባሕቲ ስኒ - -parameters; surnameFirst; short; referring; formal +parameters; surnameFirst; long; referring; formal -expectedResult; ፕሮ. ዶር. ኣዳ ኮርኒሊያ ሲዘር ማርቲን ቮን ብሩሂ ጎንዛሌዝ ዶሚንጐ ሓኪም መጥባሕቲ ስኒ +expectedResult; ፕሮ. ዶር. ኣዳ ኮርኒሊያ ሲዘር ማርቲን ቮን ብሩሂ ማንጁስ፣ ሓኪም መጥባሕቲ ስኒ parameters; givenFirst; long; referring; formal -parameters; givenFirst; short; referring; formal -expectedResult; ፕሮ. ዶር. ቮን ብሩሂ ኣዳ ኮርኒሊያ ሲዘር ማርቲን ማንጁስ, ሓኪም መጥባሕቲ ስኒ - -parameters; surnameFirst; long; referring; formal -parameters; surnameFirst; short; addressing; formal - -expectedResult; ቮን ብሩሂ ኣዳ ኮርኒሊያ ሲ. ማ. ማንጁስ, ሓኪም መጥባሕቲ ስኒ +expectedResult; ቮን ብሩሂ ኣዳ ኮርኒሊያ ሲ. ማ. ማንጁስ፣ ሓኪም መጥባሕቲ ስኒ parameters; surnameFirst; medium; referring; formal -expectedResult; ኣዳ ኮርኒሊያ ሲ. ማ. ቮን ብሩሂ ማንጁስ, ሓኪም መጥባሕቲ ስኒ +expectedResult; ኣዳ ኮርኒሊያ ሲ. ማ. ቮን ብሩሂ ማንጁስ፣ ሓኪም መጥባሕቲ ስኒ parameters; givenFirst; medium; referring; formal -expectedResult; ብሩሂ, ኣዳ ኮርኒሊያ ሲዘር ማርቲን ቮን +expectedResult; ብሩሂ፣ ኣዳ ኮርኒሊያ ሲዘር ማርቲን ቮን parameters; sorting; long; referring; formal parameters; sorting; short; referring; formal @@ -691,6 +717,14 @@ expectedResult; ብሩሂ, ኣዳ ኮርኒሊያ ሲ. ማ. ቮን parameters; sorting; medium; referring; formal +expectedResult; ቮን ብሩሂ ኣ. ኮ. ሲ. ማ. + +parameters; surnameFirst; short; referring; formal + +expectedResult; ኣ. ኮ. ሲ. ማ. ቮን ብሩሂ + +parameters; givenFirst; short; referring; formal + expectedResult; ፕሮ. ዶር. ቮን ብሩሂ parameters; givenFirst; long; addressing; formal @@ -698,6 +732,7 @@ 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; ቮን ብሩሂ ኣ. ኮ. @@ -705,6 +740,7 @@ parameters; surnameFirst; short; referring; informal expectedResult; ቮን ብሩሂ, ኒሊ +parameters; sorting; long; referring; informal parameters; sorting; medium; referring; informal expectedResult; ቮን ብሩሂ ኒሊ @@ -727,8 +763,9 @@ parameters; surnameFirst; long; monogram; formal expectedResult; ኣሲቮ +parameters; givenFirst; long; monogram; formal +parameters; givenFirst; medium; monogram; formal parameters; givenFirst; short; monogram; formal -parameters; givenFirst; short; monogram; informal expectedResult; ቮኒ @@ -743,17 +780,19 @@ parameters; surnameFirst; long; addressing; informal parameters; surnameFirst; medium; addressing; informal parameters; surnameFirst; short; addressing; informal -expectedResult; ቮ +expectedResult; ኒቮ -parameters; givenFirst; long; monogram; formal parameters; givenFirst; long; monogram; informal -parameters; givenFirst; medium; monogram; formal -parameters; givenFirst; medium; monogram; informal + +expectedResult; ቮ + parameters; surnameFirst; medium; monogram; formal parameters; surnameFirst; short; monogram; formal expectedResult; ኒ +parameters; givenFirst; medium; monogram; informal +parameters; givenFirst; short; monogram; informal parameters; surnameFirst; medium; monogram; informal parameters; surnameFirst; short; monogram; informal diff --git a/common/testData/personNameTest/yo.txt b/common/testData/personNameTest/yo.txt index 80c4c6ac92f..1ef6ac543b5 100644 --- a/common/testData/personNameTest/yo.txt +++ b/common/testData/personNameTest/yo.txt @@ -123,6 +123,7 @@ 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; Adeboye Olabisi @@ -131,6 +132,7 @@ parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal parameters; surnameFirst; medium; referring; formal parameters; surnameFirst; medium; referring; informal +parameters; surnameFirst; short; referring; formal expectedResult; Olabisi Adeboye @@ -138,20 +140,12 @@ parameters; givenFirst; long; referring; formal parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; formal parameters; givenFirst; medium; referring; informal - -expectedResult; Adeboye, O. - -parameters; sorting; short; referring; formal +parameters; givenFirst; short; referring; formal expectedResult; Adeboye O. -parameters; surnameFirst; short; referring; formal parameters; surnameFirst; short; referring; informal -expectedResult; O. Adeboye - -parameters; givenFirst; short; referring; formal - expectedResult; Olabisi A. parameters; givenFirst; short; referring; informal @@ -209,14 +203,17 @@ name ; locale; yo_AQ expectedResult; Akintola, Adeolu Adegboyega parameters; sorting; long; referring; formal +parameters; sorting; short; referring; formal expectedResult; Adeolu Adegboyega Akintola parameters; givenFirst; long; referring; formal +parameters; givenFirst; short; referring; formal expectedResult; Akintola Adeolu Adegboyega parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; short; referring; formal expectedResult; Akintola, Adeolu A. @@ -246,18 +243,6 @@ expectedResult; Akintola Adeolu parameters; surnameFirst; long; referring; informal parameters; surnameFirst; medium; referring; informal -expectedResult; Akintola, A. A. - -parameters; sorting; short; referring; formal - -expectedResult; A. A. Akintola - -parameters; givenFirst; short; referring; formal - -expectedResult; Akintola A. A. - -parameters; surnameFirst; short; referring; formal - expectedResult; Akintola A. parameters; surnameFirst; short; referring; informal @@ -320,39 +305,30 @@ name ; locale; yo_AQ expectedResult; Adebola Opeyemi Olumide Ajao Adekunle Asofin parameters; givenFirst; long; referring; formal +parameters; givenFirst; short; referring; formal expectedResult; Adekunle Adebola Opeyemi Olumide Ajao Asofin parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; short; referring; formal expectedResult; Adekunle, Adebola Opeyemi Olumide Ajao parameters; sorting; long; referring; formal +parameters; sorting; short; referring; formal -expectedResult; Adebola Opeyemi O. A. Adekunle Asofin +expectedResult; Adebola Opeyemi O.A. Adekunle Asofin parameters; givenFirst; medium; referring; formal -expectedResult; Adekunle Adebola Opeyemi O. A. Asofin +expectedResult; Adekunle Adebola Opeyemi O.A. Asofin parameters; surnameFirst; medium; referring; formal -expectedResult; Adekunle, Adebola Opeyemi O. A. +expectedResult; Adekunle, Adebola Opeyemi O.A. parameters; sorting; medium; referring; formal -expectedResult; Adekunle, A. O. O. A. - -parameters; sorting; short; referring; formal - -expectedResult; A. O. O. A. Adekunle - -parameters; givenFirst; short; referring; formal - -expectedResult; Adekunle A. O. O. A. - -parameters; surnameFirst; short; referring; formal - expectedResult; Adekunle, Bolanle parameters; sorting; long; referring; informal @@ -378,7 +354,7 @@ expectedResult; Bolanle Adekunle parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal -expectedResult; Adekunle A. O. +expectedResult; Adekunle A.O. parameters; surnameFirst; short; referring; informal @@ -492,6 +468,7 @@ 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; Käthe Müller @@ -500,6 +477,7 @@ parameters; givenFirst; long; referring; formal parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; formal parameters; givenFirst; medium; referring; informal +parameters; givenFirst; short; referring; formal expectedResult; Müller Käthe @@ -507,18 +485,10 @@ parameters; surnameFirst; long; referring; formal parameters; surnameFirst; long; referring; informal parameters; surnameFirst; medium; referring; formal parameters; surnameFirst; medium; referring; informal - -expectedResult; Müller, K. - -parameters; sorting; short; referring; formal - -expectedResult; K. Müller - -parameters; givenFirst; short; referring; formal +parameters; surnameFirst; short; referring; formal expectedResult; Müller K. -parameters; surnameFirst; short; referring; formal parameters; surnameFirst; short; referring; informal expectedResult; Käthe M. @@ -578,14 +548,17 @@ name ; locale; ko_AQ expectedResult; Stöber, Zäzilia Hamish parameters; sorting; long; referring; formal +parameters; sorting; short; referring; formal expectedResult; Stöber Zäzilia Hamish parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; short; referring; formal expectedResult; Zäzilia Hamish Stöber parameters; givenFirst; long; referring; formal +parameters; givenFirst; short; referring; formal expectedResult; Stöber, Zäzilia H. @@ -615,18 +588,6 @@ expectedResult; Zäzilia Stöber parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal -expectedResult; Stöber, Z. H. - -parameters; sorting; short; referring; formal - -expectedResult; Stöber Z. H. - -parameters; surnameFirst; short; referring; formal - -expectedResult; Z. H. Stöber - -parameters; givenFirst; short; referring; formal - expectedResult; Zäzilia S. parameters; givenFirst; short; referring; informal @@ -700,24 +661,27 @@ name ; locale; ko_AQ expectedResult; Ada Cornelia César Martín von Brühl M.D. Ph.D. parameters; givenFirst; long; referring; formal +parameters; givenFirst; short; referring; formal expectedResult; von Brühl Ada Cornelia César Martín M.D. Ph.D. parameters; surnameFirst; long; referring; formal +parameters; surnameFirst; short; referring; formal -expectedResult; Ada Cornelia C. M. von Brühl M.D. Ph.D. +expectedResult; Ada Cornelia C.M. von Brühl M.D. Ph.D. parameters; givenFirst; medium; referring; formal -expectedResult; von Brühl Ada Cornelia C. M. M.D. Ph.D. +expectedResult; von Brühl Ada Cornelia C.M. M.D. Ph.D. parameters; surnameFirst; medium; referring; formal expectedResult; Brühl, Ada Cornelia César Martín von parameters; sorting; long; referring; formal +parameters; sorting; short; referring; formal -expectedResult; Brühl, Ada Cornelia C. M. von +expectedResult; Brühl, Ada Cornelia C.M. von parameters; sorting; medium; referring; formal @@ -730,18 +694,6 @@ parameters; surnameFirst; long; addressing; formal parameters; surnameFirst; medium; addressing; formal parameters; surnameFirst; short; addressing; formal -expectedResult; Brühl, A. C. C. M. von - -parameters; sorting; short; referring; formal - -expectedResult; A. C. C. M. von Brühl - -parameters; givenFirst; short; referring; formal - -expectedResult; von Brühl A. C. C. M. - -parameters; surnameFirst; short; referring; formal - expectedResult; von Brühl, Neele parameters; sorting; long; referring; informal @@ -753,16 +705,16 @@ expectedResult; Neele von Brühl parameters; givenFirst; long; referring; informal parameters; givenFirst; medium; referring; informal -expectedResult; von Brühl A. C. - -parameters; surnameFirst; short; referring; informal - expectedResult; von Brühl Neele parameters; surnameFirst; long; referring; informal parameters; surnameFirst; medium; referring; informal -expectedResult; Neele v. B. +expectedResult; von Brühl A.C. + +parameters; surnameFirst; short; referring; informal + +expectedResult; Neele v.B. parameters; givenFirst; short; referring; informal