mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
[search] Add more Arabic synonyms
Signed-off-by: omarhassan <omarhassan@noreply.codeberg.org> Co-authored-by: omarhassan <omarhassan@noreply.codeberg.org> Co-committed-by: omarhassan <omarhassan@noreply.codeberg.org>
This commit is contained in:
@@ -18,26 +18,26 @@ namespace
|
|||||||
unordered_map<string, vector<string>> const kSynonyms = {
|
unordered_map<string, vector<string>> const kSynonyms = {
|
||||||
/// @todo Should process synonyms with errors like "blvrd" -> "blvd".
|
/// @todo Should process synonyms with errors like "blvrd" -> "blvd".
|
||||||
/// @see HouseOnStreetSynonymsWithMisprints test.
|
/// @see HouseOnStreetSynonymsWithMisprints test.
|
||||||
{"1", {"pierwszy", "pierwsza", "un", "una", "pierwsze", "primo"}},
|
{"1", {"pierwszy", "pierwsza", "un", "una", "pierwsze", "primo", "واحد", "حادى", "احد"}},
|
||||||
{"1st", {"first"}},
|
{"1st", {"first"}},
|
||||||
{"1°", {"primo"}},
|
{"1°", {"primo"}},
|
||||||
{"20", {"venti"}},
|
{"20", {"venti", "عشرين", "عشرون"}},
|
||||||
{"25", {"venticinque"}},
|
{"25", {"venticinque", "خمسه و عشرون", "خمس و عشرين"}},
|
||||||
{"2", {"due", "drugi", "drugie", "druga"}},
|
{"2", {"due", "drugi", "drugie", "druga", "اثنان", "اثنين"}},
|
||||||
{"2nd", {"second"}},
|
{"2nd", {"second"}},
|
||||||
{"3", {"trzecia", "trzecie", "tre", "trzeci"}},
|
{"3", {"trzecia", "trzecie", "tre", "trzeci", "ثلاث"}},
|
||||||
{"3rd", {"third"}},
|
{"3rd", {"third"}},
|
||||||
{"4", {"quattro"}},
|
{"4", {"quattro", "اربع"}},
|
||||||
{"4th", {"fourth"}},
|
{"4th", {"fourth"}},
|
||||||
{"5", {"cinque"}},
|
{"5", {"cinque", "خمس"}},
|
||||||
{"5th", {"fifth"}},
|
{"5th", {"fifth"}},
|
||||||
{"6", {"sei"}},
|
{"6", {"sei", "ست"}},
|
||||||
{"6th", {"sixth"}},
|
{"6th", {"sixth"}},
|
||||||
{"7", {"sette"}},
|
{"7", {"sette", "سبع"}},
|
||||||
{"7th", {"seventh"}},
|
{"7th", {"seventh"}},
|
||||||
{"8", {"otto"}},
|
{"8", {"otto", "ثمان", "ثمانيه"}},
|
||||||
{"8th", {"eighth"}},
|
{"8th", {"eighth"}},
|
||||||
{"9", {"nove"}},
|
{"9", {"nove", "تسع"}},
|
||||||
{"9th", {"ninth"}},
|
{"9th", {"ninth"}},
|
||||||
{"10th", {"tenth"}},
|
{"10th", {"tenth"}},
|
||||||
{"11th", {"eleventh"}},
|
{"11th", {"eleventh"}},
|
||||||
@@ -1402,9 +1402,32 @@ unordered_map<string, vector<string>> const kSynonyms = {
|
|||||||
{"高", {"高等学校"}},
|
{"高", {"高等学校"}},
|
||||||
{"ش", {"شارع"}},
|
{"ش", {"شارع"}},
|
||||||
{"ط", {"طريق"}},
|
{"ط", {"طريق"}},
|
||||||
{"م", {"ميدان"}},
|
{"م", {"ميدان", "مجاوره", "محطه", "موقف"}},
|
||||||
{"د", {"دكتور"}},
|
{"د", {"دكتور"}},
|
||||||
{"ج", {"جامعة"}}
|
{"ج", {"جامعه"}},
|
||||||
|
{"ح", {"حى"}},
|
||||||
|
{"ع", {"عماره"}},
|
||||||
|
{"احد", {"1"}},
|
||||||
|
{"واحد", {"1"}},
|
||||||
|
{"حادى", {"1"}},
|
||||||
|
{"اثنين", {"2"}},
|
||||||
|
{"اثنان", {"2"}},
|
||||||
|
{"ثلاث", {"3"}},
|
||||||
|
{"اربع", {"4"}},
|
||||||
|
{"خمس", {"5"}},
|
||||||
|
{"ست", {"6"}},
|
||||||
|
{"سبع", {"7"}},
|
||||||
|
{"ثمان", {"8"}},
|
||||||
|
{"ثمانيه", {"8"}},
|
||||||
|
{"تسع", {"9"}},
|
||||||
|
{"عشر", {"10"}},
|
||||||
|
{"عشرين", {"20"}},
|
||||||
|
{"عشرون", {"20"}},
|
||||||
|
{"الحد", {"الاحد"}},
|
||||||
|
{"الاحد", {"الحد"}},
|
||||||
|
{"التلات", {"الثلاثاء"}},
|
||||||
|
{"الثلاثاء", {"التلات"}},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
These synonyms are currently unreachable per https://codeberg.org/comaps/comaps/issues/1242
|
These synonyms are currently unreachable per https://codeberg.org/comaps/comaps/issues/1242
|
||||||
{"arm. gen", {"armádneho generála"}},
|
{"arm. gen", {"armádneho generála"}},
|
||||||
|
|||||||
Reference in New Issue
Block a user