add spelled out street numerals

Signed-off-by: IXVG47QZ <jako_accomm@simplelogin.com>
This commit is contained in:
IXVG47QZ
2025-09-01 01:27:56 -05:00
committed by x7z4w
parent c014e224b2
commit 39bd613d8b

View File

@@ -19,17 +19,37 @@ unordered_map<string, vector<string>> const kSynonyms = {
/// @todo Should process synonyms with errors like "blvrd" -> "blvd".
/// @see HouseOnStreetSynonymsWithMisprints test.
{"1", {"pierwszy", "pierwsza", "un", "una", "pierwsze", "primo"}},
{"1st", {"first"}},
{"", {"primo"}},
{"20", {"venti"}},
{"25", {"venticinque"}},
{"2", {"due", "drugi", "drugie", "druga"}},
{"2nd", {"second"}},
{"3", {"trzecia", "trzecie", "tre", "trzeci"}},
{"3rd", {"third"}},
{"4", {"quattro"}},
{"4th", {"fourth"}},
{"5", {"cinque"}},
{"5th", {"fifth"}},
{"6", {"sei"}},
{"6th", {"sixth"}},
{"7", {"sette"}},
{"7th", {"seventh"}},
{"8", {"otto"}},
{"8th", {"eighth"}},
{"9", {"nove"}},
{"9th", {"ninth"}},
{"10th", {"tenth"}},
{"11th", {"eleventh"}},
{"12th", {"twelfth"}},
{"13th", {"thirteenth"}},
{"14th", {"fourteenth"}},
{"15th", {"fifteenth"}},
{"16th", {"sixteenth"}},
{"17th", {"seventeenth"}},
{"18th", {"eighteenth"}},
{"19th", {"nineteenth"}},
{"20th", {"twentieth"}},
{"a", {"am", "auto-estrada"}},
{"abe", {"abbaye"}},
{"accs", {"access"}},
@@ -395,7 +415,10 @@ unordered_map<string, vector<string>> const kSynonyms = {
{"egl", {"église"}},
{"égl", {"église"}},
{"ehem", {"ehemalige", "ehemaliger", "ehemaliges"}},
{"eighth", {"8th"}},
{"eighteenth", {"18th"}},
{"elb", {"elbow"}},
{"eleventh", {"11th"}},
{"emb", {"embaixador"}},
{"em", {"estrada municipal"}},
{"empr", {"empresa"}},
@@ -456,6 +479,9 @@ unordered_map<string, vector<string>> const kSynonyms = {
{"fg", {"faubourg"}},
{"fh", {"fachhochschule", "forsthaus"}},
{"fit", {"firetrail"}},
{"fifth", {"5th"}},
{"fifteenth", {"15th"}},
{"first", {"1st"}},
{"flat", {"flat"}},
{"fl", {"flat"}},
{"fnd", {"fundătura"}},
@@ -463,6 +489,8 @@ unordered_map<string, vector<string>> const kSynonyms = {
{"fon", {"fontaine"}},
{"form", {"forum", "formation"}},
{"fos", {"fosses", "fosse"}},
{"fourth", {"4th"}},
{"fourteenth", {"14th"}},
{"foyr", {"foyer"}},
{"fr", {"father", "frontage", "frei"}},
{"frm", {"ferme", "fermes"}},
@@ -735,6 +763,8 @@ unordered_map<string, vector<string>> const kSynonyms = {
{"ne", {"northeast"}},
{"nh", {"nhà hát"}},
{"nhs", {"national high school"}},
{"ninth", {"9th"}},
{"nineteenth", {"19th"}},
{"nk", {"nook"}},
{"nms", {"neue mittelschule"}},
{"n", {"nowy", "nowa", "nossa", "norra", "número", "north", "nosso", "nacional", "nowe"}},
@@ -1016,11 +1046,14 @@ unordered_map<string, vector<string>> const kSynonyms = {
{"sdn", {"sekolah dasar negeri"}},
{"sdr", {"søndre", "sønder"}},
{"sd", {"strand", "sekolah dasar"}},
{"second", {"2nd"}},
{"sect", {"sector"}},
{"sedra", {"sendera"}},
{"send", {"sendero"}},
{"sen", {"sente", "senator", "sentiers", "sentier", "sentes"}},
{"sent", {"sentier"}},
{"seventh", {"7th"}},
{"seventeenth", {"17th"}},
{"se", {"southeast"}},
{"sgda", {"sagrada"}},
{"sg", {"schottergrube", "sungai", "sandgrube"}},
@@ -1030,6 +1063,8 @@ unordered_map<string, vector<string>> const kSynonyms = {
{"shun", {"shunt"}},
{"shwy", {"state highway"}},
{"sídl", {"sídlisko"}},
{"sixth", {"6th"}},
{"sixteenth", {"16th"}},
{"sk", {"sokak", "sokağı"}},
{"slj", {"sobre-loja"}},
{"slov", {"slovenskih"}},
@@ -1103,12 +1138,15 @@ unordered_map<string, vector<string>> const kSynonyms = {
{"tct", {"tổng công ty"}},
{"tcty", {"tổng công ty"}},
{"ten", {"tenente"}},
{"tenth", {"10th"}},
{"term", {"terminal"}},
{"terr", {"terrace"}},
{"ter", {"terrace"}},
{"tg", {"tanjong"}},
{"thcs", {"trung học cơ sở"}},
{"thfr", {"thoroughfare"}},
{"third", {"3rd"}},
{"thirteenth", {"13th"}},
{"thor", {"thoroughfare"}},
{"thpt", {"trung học phổ thông"}},
{"th", {"tiểu học", "tienhaara"}},
@@ -1150,6 +1188,8 @@ unordered_map<string, vector<string>> const kSynonyms = {
{"tu", {"technische universität"}},
{"tvl", {"taival"}},
{"tv", {"travessa"}},
{"twelfth", {"12th"}},
{"twentieth", {"20th"}},
{"twp", {"township"}},
{"twrs", {"towers"}},
{"twy", {"tollway"}},