Skip to content

Commit

Permalink
More adjective rules (#386)
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 c0d484c commit 9ef558a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions commonItems.UnitTests/Linguistics/StringExtensionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ public class StringExtensionsTests {
[InlineData("Maracaibo", "Maracaibero")]
[InlineData("Hazorasp", "Hazoraspian")]
[InlineData("Kristinehamn", "Kristinehamner")]
[InlineData("Jericho", "Jerichoan")]
[InlineData("Arecibo", "Areciboan")]
[InlineData("Shahrisabz", "Shahrisabzian")]
[InlineData("El Paso", "El Pasoan")]

// adjectives relying on rewrite rules
[InlineData("Armenia Maioris", "Greater Armenian")]
Expand Down
6 changes: 6 additions & 0 deletions commonItems/Linguistics/adjective_rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@
{"*car", "*can"}, // Madagascar
{"*cau", "*canese"}, // Macau
{"*chi", "*chiite"}, // Karachi
{"*cho", "*choan"}, // Jericho
{"*cio", "*cian"}, // Laugaricio
{"*cow", "*covian"}, // Cracow
{"*cus", "*cene"}, // Damascus
Expand Down Expand Up @@ -560,6 +561,8 @@
{"*as", "*an"}, // Honduras
{"*at", "*atian"}, // Eilat
{"*au", "*auan"}, // Palau
{"*bo", "*boan"}, // Labo, rule made up
{"*bz", "*bzian"}, // Shahrisabz
{"*ca", "*can"}, // Africa
{"*ce", "*cian"}, // Thrace
{"*co", "*can"}, // Morocco
Expand All @@ -582,6 +585,7 @@
{"*gk", "*gkan"},
{"*go", "*goan"}, // Chicago
{"*if", "*ifi"},
{"*ij", "*ijan"}, // Lahij, rule made up
{"*in", "*inese"}, // Benin
{"*im", "*imite"},
{"*io", "*ian"}, // San Antonio
Expand All @@ -596,6 +600,7 @@
{"*ff", "*ffian"}, // Cardiff
{"*le", "*lean"}, // Chile
{"*ka", "*kan"}, // Osaka
{"*ko", "*konian"}, // Shorko, rule made up
{"*kh", "*khi"},
{"*ku", "*kuvian"}, // Baku
{"*ld", "*ldian"}, // Chesterfield
Expand Down Expand Up @@ -630,6 +635,7 @@
{"*rp", "*rpian"}, // Klerksdorp
{"*sa", "*san"}, // Larissa
{"*sh", "*shi"}, // Bangladesh
{"*so", "*soan"}, // El Paso
{"*sp", "*spian"}, // Hazorasp
{"*ta", "*tan"}, // Egesta
{"*te", "*tan"}, // Crete
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.1</Version>
<Version>10.0.2</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 9ef558a

Please sign in to comment.