Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjective rules for Lukow, Muzambinho, Sidh #403

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions commonItems.UnitTests/Linguistics/StringExtensionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ public class StringExtensionsTests {
[InlineData("Peruwelz", "Peruwelzian")]
[InlineData("Schmargendorf", "Schmargendorfer")]
[InlineData("Schwelm", "Schwelmer")]
[InlineData("Lukow", "Lukowian")]
[InlineData("Muzambinho", "Muzambinhense")]

// adjectives mostly made up
[InlineData("Sidh", "Sidhian")]

// adjectives relying on rewrite rules
[InlineData("Armenia Maioris", "Greater Armenian")]
Expand Down
2 changes: 1 addition & 1 deletion commonItems.UnitTests/TestFiles/adjectives/cities.csv
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Grenoble,Grenoblois,,,,
Guangzhou,Cantonese,,,,
Canton,Cantonese,,,,
Guayaquil,Guayaquilean,,,,
Guelph,Guelphite,,,,
Guelph,Guelphite,Guelphian,,,
Gumi,Gumi,Gumite,,,
Gwangju,Gwangju,,,,
Gyeongju,Gyeongju,,,,
Expand Down
4 changes: 4 additions & 0 deletions commonItems/Linguistics/adjective_rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@
{"*nes", "*ne"}, // Philippines
{"*ngh", "*nghi"}, // Mymensingh
{"*ngo", "*ngolese"}, // Congo
{"*nho", "*nhense"}, // Muzambinho
{"*nto", "*ntine"}, // Sorrento
{"*num", "*ne"}, // Sabinum
{"*nya", "*nyanite"}, // Konya
Expand Down Expand Up @@ -638,6 +639,7 @@
{"*ów", "*ovian"}, // Kraków
{"*pa", "*pan"}, // Tampa
{"*pe", "*pean"}, // Europe
{"*ph", "*phite"}, // Guelph
{"*po", "*pine"}, // Aleppo
{"*ra", "*rean"}, // Corcyra
{"*re", "*rean"}, // Singapore
Expand Down Expand Up @@ -680,6 +682,7 @@
{"*d", "*der"}, // Dortmund
{"*e", "*ian"}, // Ukraine
{"*g", "*gish"}, // Luxembourg
{"*h", "*hian"},
{"*i", "*ian"}, // Burundi
{"*k", "*kian"},
{"*l", "*lian"}, // Brazil
Expand All @@ -689,5 +692,6 @@
{"*t", "*tian"}, // Egypt
{"*u", "*uan"}, // Vanuatu
{"*v", "*vite"}, // Yonnav
{"*w", "*wian"}, // Lukow
{"*x", "*xian"}, // Essex
{"*y", "*ian"} // Hungary
Loading