From 9ef558a86e675299627287e198b60c8770277a9c Mon Sep 17 00:00:00 2001 From: IhateTrains Date: Sun, 17 Dec 2023 22:30:30 +0000 Subject: [PATCH] More adjective rules (#386) * More adjective rules * Bump version --- commonItems.UnitTests/Linguistics/StringExtensionsTests.cs | 4 ++++ commonItems/Linguistics/adjective_rules.txt | 6 ++++++ commonItems/commonItems.csproj | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/commonItems.UnitTests/Linguistics/StringExtensionsTests.cs b/commonItems.UnitTests/Linguistics/StringExtensionsTests.cs index c8c0799b..70ce0746 100644 --- a/commonItems.UnitTests/Linguistics/StringExtensionsTests.cs +++ b/commonItems.UnitTests/Linguistics/StringExtensionsTests.cs @@ -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")] diff --git a/commonItems/Linguistics/adjective_rules.txt b/commonItems/Linguistics/adjective_rules.txt index 603b33f1..ba559a50 100644 --- a/commonItems/Linguistics/adjective_rules.txt +++ b/commonItems/Linguistics/adjective_rules.txt @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/commonItems/commonItems.csproj b/commonItems/commonItems.csproj index 83785ec0..393180ee 100644 --- a/commonItems/commonItems.csproj +++ b/commonItems/commonItems.csproj @@ -6,7 +6,7 @@ False PGCG.$(AssemblyName) - 10.0.1 + 10.0.2 PGCG https://github.com/ParadoxGameConverters/commonItems.NET https://github.com/ParadoxGameConverters/commonItems.NET