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

More adjective rules #385

Merged
merged 2 commits into from
Dec 17, 2023
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 @@ -195,6 +195,11 @@ public class StringExtensionsTests {
[InlineData("Bulawayo", "Bulawayan")]
[InlineData("Rondebosch", "Rondeboscher")]
[InlineData("Grabouw", "Grabouwite")]
[InlineData("Klerksdorp", "Klerksdorpian")]
[InlineData("Ejido", "Ejidense")]
[InlineData("Maracaibo", "Maracaibero")]
[InlineData("Hazorasp", "Hazoraspian")]
[InlineData("Kristinehamn", "Kristinehamner")]

// adjectives relying on rewrite rules
[InlineData("Armenia Maioris", "Greater Armenian")]
Expand Down
11 changes: 10 additions & 1 deletion commonItems/Linguistics/adjective_rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
{"* Bay", "*bite"}, // Thunder Bay
{"* Jaw", "* Jaw"}, // Moose Jaw
{"* Lat", "*latese"}, // Da Lat
{"*aibo", "*aibero"}, // Maracaibo
{"*aïda", "*idonian"}, // Saïda
{"*Agde", "*Agathois"}, // Agde
{"*ales", "*elsh"}, // Wales
Expand Down Expand Up @@ -250,6 +251,7 @@
{"*gong", "*gonian"}, // Chittagong
{"*gotá", "*gotano"}, // Bogotá
{"*Graz", "*Grazer"}, // Graz
{"*hamn", "*hamner"}, // Kristinehamn
{"*hana", "*hanaian"}, // Ghana
{"*hang", "*hang"}, // Pohang
{"*hria", "*hriasian"}, // Thria
Expand Down Expand Up @@ -410,6 +412,7 @@
{"*gue", "*guer"}, // Hague
{"*ham", "*hamian"}, // Birmingham
{"*har", "*hari"}, // Bihar
{"*hof", "*hofer"}, // Bloemhof
{"*iam", "*iamese"}, // Siam
{"*ica", "*ican"}, // Corsica
{"*ice", "*icean"}, // Nice
Expand Down Expand Up @@ -465,6 +468,7 @@
{"*nya", "*nyanite"}, // Konya
{"*oke", "*oker"}, // Roanoke
{"*omo", "*omo"},
{"*oof", "*oofian"}, // Duiwelskloof, rule made up
{"*oon", "*oonian"}, // Cameroon
{"*osu", "*osuite"}, // Yeosu
{"*pan", "*panese"}, // Japan
Expand Down Expand Up @@ -508,6 +512,7 @@
{"*ton", "*tonian"}, // Croton
{"*tep", "*tepian"}, // Gaziantep
{"*ter", "*trian"}, // Chester
{"*tho", "*thoan"}, // Mmabatho, rule made up
{"*tle", "*tlian"}, // Newcastle
{"*tra", "*tran"}, // Suvarna Gotra
{"*tte", "*ttean"}, // Charlotte
Expand Down Expand Up @@ -559,6 +564,7 @@
{"*ce", "*cian"}, // Thrace
{"*co", "*can"}, // Morocco
{"*de", "*dean"}, // Cape Verde
{"*do", "*dense"}, // https://en.wikipedia.org/wiki/Ejido,_Venezuela
{"*dó", "*doseño"}, // Chigorodó
{"*du", "*dunite"}, // Ordu
{"*eh", "*ehi"},
Expand Down Expand Up @@ -619,14 +625,17 @@
{"*re", "*rean"}, // Singapore
{"*rh", "*rhi"}, // Chandigarh
{"*rk", "*rk"}, // Cork
{"*ro", "*rin"}, // Montenegro
{"*rn", "*rnese"}, // Bern
{"*ro", "*rin"}, // Montenegro
{"*rp", "*rpian"}, // Klerksdorp
{"*sa", "*san"}, // Larissa
{"*sh", "*shi"}, // Bangladesh
{"*sp", "*spian"}, // Hazorasp
{"*ta", "*tan"}, // Egesta
{"*te", "*tan"}, // Crete
{"*th", "*thian"}, // Vilath (rule made up)
{"*to", "*tan"}, // Benevento
{"*tz", "*tzian"}, // Reitz, rule made up
{"*ue", "*uan"}, // Niue
{"*ul", "*ulish"}, // Gaul
{"*un", "*unite"},
Expand Down
2 changes: 1 addition & 1 deletion commonItems/commonItems.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<PackageId>PGCG.$(AssemblyName)</PackageId>
<Version>10.0.0</Version>
<Version>10.0.1</Version>
<Authors>PGCG</Authors>
<PackageProjectUrl>https://github.com/ParadoxGameConverters/commonItems.NET</PackageProjectUrl>
<RepositoryUrl>https://github.com/ParadoxGameConverters/commonItems.NET</RepositoryUrl>
Expand Down
Loading