Skip to content

Commit

Permalink
More adjective rules (#385)
Browse files Browse the repository at this point in the history
* More adjective rules

* Bump version
  • Loading branch information
IhateTrains authored Dec 17, 2023
1 parent e680e0e commit c0d484c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
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

0 comments on commit c0d484c

Please sign in to comment.