From b66bd51324534d46377465c44dd17e8a501d4038 Mon Sep 17 00:00:00 2001 From: Daniel Paz-Soldan Date: Thu, 22 Feb 2018 15:30:47 -0500 Subject: [PATCH 1/7] Add abbreviations --- index.js | 2 + languages.js | 31 ++ languages/abbreviations/bg.json | 68 ++++ languages/abbreviations/ca.json | 107 ++++++ languages/abbreviations/da.json | 38 ++ languages/abbreviations/en.json | 77 ++++ languages/abbreviations/es.json | 49 +++ languages/abbreviations/fr.json | 570 +++++++++++++++++++++++++++++ languages/abbreviations/lt.json | 55 +++ languages/abbreviations/nl.json | 46 +++ languages/abbreviations/pt-BR.json | 77 ++++ languages/abbreviations/ru.json | 31 ++ languages/abbreviations/sv.json | 20 + languages/abbreviations/vi.json | 53 +++ 14 files changed, 1224 insertions(+) create mode 100644 languages/abbreviations/bg.json create mode 100644 languages/abbreviations/ca.json create mode 100644 languages/abbreviations/da.json create mode 100644 languages/abbreviations/en.json create mode 100644 languages/abbreviations/es.json create mode 100644 languages/abbreviations/fr.json create mode 100644 languages/abbreviations/lt.json create mode 100644 languages/abbreviations/nl.json create mode 100644 languages/abbreviations/pt-BR.json create mode 100644 languages/abbreviations/ru.json create mode 100644 languages/abbreviations/sv.json create mode 100644 languages/abbreviations/vi.json diff --git a/index.js b/index.js index 6b7fd85c3..e3e5dd6f2 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,7 @@ var languages = require('./languages'); var instructions = languages.instructions; var grammars = languages.grammars; +var abbreviations = languages.abbreviations; module.exports = function(version) { Object.keys(instructions).forEach(function(code) { @@ -236,6 +237,7 @@ module.exports = function(version) { return name; }, + abbreviations: abbreviations, tokenize: function(language, instruction, tokens, options) { if (!language) throw new Error('No language code provided'); // Keep this function context to use in inline function below (no arrow functions in ES4) diff --git a/languages.js b/languages.js index 26511828b..2308efecc 100755 --- a/languages.js +++ b/languages.js @@ -24,6 +24,20 @@ var instructionsZhHans = require('./languages/translations/zh-Hans.json'); // Load all grammar files var grammarRu = require('./languages/grammar/ru.json'); +// Load all abbreviations files +var abbreviationsBg = require('./languages/abbreviations/bg.json'); +var abbreviationsCa = require('./languages/abbreviations/ca.json'); +var abbreviationsDa = require('./languages/abbreviations/da.json'); +var abbreviationsEn = require('./languages/abbreviations/en.json'); +var abbreviationsEs = require('./languages/abbreviations/es.json'); +var abbreviationsFr = require('./languages/abbreviations/fr.json'); +var abbreviationsLt = require('./languages/abbreviations/lt.json'); +var abbreviationsNl = require('./languages/abbreviations/nl.json'); +var abbreviationsPtBr = require('./languages/abbreviations/pt-BR.json'); +var abbreviationsRu = require('./languages/abbreviations/ru.json'); +var abbreviationsSv = require('./languages/abbreviations/sv.json'); +var abbreviationsVi = require('./languages/abbreviations/vi.json'); + // Create a list of supported codes var instructions = { 'da': instructionsDa, @@ -53,6 +67,22 @@ var grammars = { 'ru': grammarRu }; +// Create list of supported abbrevations +var abbreviations = { + 'bg': abbreviationsBg, + 'ca': abbreviationsCa, + 'da': abbreviationsDa, + 'en': abbreviationsEn, + 'es': abbreviationsEs, + 'fr': abbreviationsFr, + 'lt': abbreviationsLt, + 'nl': abbreviationsNl, + 'pt-BR': abbreviationsPtBr, + 'ru': abbreviationsRu, + 'sv': abbreviationsSv, + 'vi': abbreviationsVi +}; + function parseLanguageIntoCodes (language) { var match = language.match(/(\w\w)(?:-(\w\w\w\w))?(?:-(\w\w))?/i); var locale = []; @@ -84,5 +114,6 @@ module.exports = { }), instructions: instructions, grammars: grammars, + abbreviations: abbreviations, parseLanguageIntoCodes: parseLanguageIntoCodes }; diff --git a/languages/abbreviations/bg.json b/languages/abbreviations/bg.json new file mode 100644 index 000000000..cf80de22c --- /dev/null +++ b/languages/abbreviations/bg.json @@ -0,0 +1,68 @@ +{ + "abbreviations": { + "международен": "Межд", + "старши": "Стрш", + "възел": "Въз", + "пазар": "Mkt", + "светисвети": "СвСв", + "сестра": "сес", + "уилям": "Ум", + "апартаменти": "ап", + "езеро": "Ез", + "свети": "Св", + "център": "Ц-р", + "парк": "Пк", + "маршрут": "М-т", + "площад": "Пл", + "национален": "Нац", + "училище": "Уч", + "река": "Рек", + "поток": "П-к", + "район": "Р-н", + "крепост": "К-т", + "паметник": "Пам", + "университет": "Уни", + "Връх": "Вр", + "точка": "Точ", + "планина": "Пл", + "село": "с.", + "височини": "вис", + "младши": "Мл", + "станция": "С-я", + "проход": "Прох", + "баща": "Бщ" + }, + "classifications": { + "шофиране": "Шоф", + "плавен": "Пл", + "място": "Мя", + "тераса": "Тер", + "магистрала": "М-ла", + "площад": "Пл", + "пеш": "Пеш", + "залив": "З-в", + "пътека": "П-ка", + "платно": "Пл", + "улица": "Ул", + "алея": "Ал", + "пешеходна": "Пеш", + "точка": "Тч", + "задминаване": "Задм", + "кръгово": "Кр", + "връх": "Вр", + "съд": "Сд", + "булевард": "Бул", + "път": "Път", + "скоростна": "Скор", + "мост": "Мо" + }, + "directions": { + "северозапад": "СЗ", + "североизток": "СИ", + "югозапад": "ЮЗ", + "югоизток": "ЮИ", + "север": "С", + "изток": "И", + "юг": "Ю" + } +} diff --git a/languages/abbreviations/ca.json b/languages/abbreviations/ca.json new file mode 100644 index 000000000..c0df3848d --- /dev/null +++ b/languages/abbreviations/ca.json @@ -0,0 +1,107 @@ +{ + "abbreviations": { + "comunicacions": "Com.", + "entitat de població": "Nucli", + "disseminat": "Diss.", + "cap de municipi": "Cap", + "indret": "Indr.", + "comarca": "Cca.", + "relleu del litoral": "Lit.", + "municipi": "Mun.", + "xarxa hidrogràfica": "Curs Fluv.", + "equipament": "Equip.", + "orografia": "Orogr.", + "barri": "Barri", + "edificació": "Edif.", + "edificació històrica": "Edif. Hist.", + "entitat descentralitzada": "E.M.D.", + "element hidrogràfic": "Hidr." + }, + "classifications": { + "rotonda": "Rot.", + "carrerada": "Ca.", + "jardí": "J.", + "paratge": "Pge.", + "pont": "Pont", + "lloc": "Lloc", + "rambla": "Rbla.", + "cases": "Cses.", + "barranc": "Bnc.", + "plana": "Plana", + "polígon": "Pol.", + "muralla": "Mur.", + "enllaç": "Ellaç", + "antiga carretera": "Actra", + "glorieta": "Glor.", + "autovia": "Autv.", + "prolongació": "Prol.", + "calçada": "Cda.", + "carretera": "Ctra.", + "pujada": "Pda.", + "torrent": "T.", + "disseminat": "Disse", + "barri": "B.", + "cinturó": "Cinto", + "passera": "Psera", + "sender": "Send.", + "carrer": "C.", + "sèquia": "Sèq.", + "blocs": "Bloc", + "rambleta": "Rblt.", + "partida": "Par.", + "costa": "Cos.", + "sector": "Sec.", + "corraló": "Crral", + "urbanització": "Urb.", + "autopista": "Autp.", + "grup": "Gr.", + "platja": "Pja.", + "jardins": "J.", + "complex": "Comp.", + "portals": "Ptals", + "finca": "Fin.", + "travessera": "Trav.", + "plaça": "Pl.", + "travessia": "Trv.", + "polígon industrial": "PI.", + "passatge": "Ptge.", + "apartaments": "Apmt.", + "mirador": "Mira.", + "antic": "Antic", + "accés": "Acc.", + "colònia": "Col.", + "corriol": "Crol.", + "portal": "Ptal.", + "porta": "Pta.", + "port": "Port", + "carreró": "Cró.", + "riera": "Ra.", + "circumval·lació": "Cval.", + "baixada": "Bda.", + "placeta": "Plta.", + "escala": "Esc.", + "gran via": "GV", + "rial": "Rial", + "conjunt": "Conj.", + "avinguda": "Av.", + "esplanada": "Esp.", + "cantonada": "Cant.", + "ronda": "Rda.", + "corredor": "Cdor.", + "drecera": "Drec.", + "passadís": "Pdís.", + "viaducte": "Vdct.", + "passeig": "Pg.", + "veïnat": "Veï." + }, + "directions": { + "sudest": "SE", + "sudoest": "SO", + "nordest": "NE", + "nordoest": "NO", + "est": "E", + "nord": "N", + "oest": "O", + "sud": "S" + } +} diff --git a/languages/abbreviations/da.json b/languages/abbreviations/da.json new file mode 100644 index 000000000..5a67c1e66 --- /dev/null +++ b/languages/abbreviations/da.json @@ -0,0 +1,38 @@ +{ + "abbreviations": { + "skole": "Sk.", + "ved": "v.", + "centrum": "C.", + "sankt": "Skt.", + "vestre": "v.", + "hospital": "Hosp.", + "stræde": "Str.", + "nordre": "Nr.", + "plads": "Pl.", + "universitet": "Uni.", + "vænge": "vg.", + "station": "St." + }, + "classifications": { + "avenue": "Ave", + "gammel": "Gl.", + "dronning": "Dronn.", + "sønder": "Sdr.", + "nørre": "Nr.", + "vester": "V.", + "vestre": "V.", + "øster": "Ø.", + "østre": "Ø.", + "boulevard": "Boul." + }, + "directions": { + "sydøst": "SØ", + "nordvest": "NV", + "syd": "S", + "nordøst": "NØ", + "sydvest": "SV", + "vest": "V", + "nord": "N", + "øst": "Ø" + } +} diff --git a/languages/abbreviations/en.json b/languages/abbreviations/en.json new file mode 100644 index 000000000..b8e4ce59a --- /dev/null +++ b/languages/abbreviations/en.json @@ -0,0 +1,77 @@ +{ + "abbreviations": { + "square": "Sq", + "centre": "Ctr", + "sister": "Sr", + "lake": "Lk", + "fort": "Ft", + "route": "Rte", + "william": "Wm", + "national": "Nat’l", + "junction": "Jct", + "center": "Ctr", + "saint": "St", + "saints": "SS", + "station": "Sta", + "mount": "Mt", + "junior": "Jr", + "mountain": "Mtn", + "heights": "Hts", + "university": "Univ", + "school": "Sch", + "international": "Int’l", + "apartments": "apts", + "crossing": "Xing", + "creek": "Crk", + "township": "Twp", + "downtown": "Dtwn", + "father": "Fr", + "senior": "Sr", + "point": "Pt", + "river": "Riv", + "market": "Mkt", + "village": "Vil", + "park": "Pk", + "memorial": "Mem" + }, + "classifications": { + "place": "Pl", + "circle": "Cir", + "bypass": "Byp", + "motorway": "Mwy", + "crescent": "Cres", + "road": "Rd", + "cove": "Cv", + "lane": "Ln", + "square": "Sq", + "street": "St", + "freeway": "Fwy", + "walk": "Wk", + "plaza": "Plz", + "parkway": "Pky", + "avenue": "Ave", + "pike": "Pk", + "drive": "Dr", + "highway": "Hwy", + "footway": "Ftwy", + "point": "Pt", + "court": "Ct", + "terrace": "Ter", + "walkway": "Wky", + "alley": "Aly", + "expressway": "Expy", + "bridge": "Br", + "boulevard": "Blvd", + "turnpike": "Tpk" + }, + "directions": { + "southeast": "SE", + "northwest": "NW", + "south": "S", + "west": "W", + "southwest": "SW", + "north": "N", + "east": "E", + "northeast": "NE" + } +} diff --git a/languages/abbreviations/es.json b/languages/abbreviations/es.json new file mode 100644 index 000000000..50493db15 --- /dev/null +++ b/languages/abbreviations/es.json @@ -0,0 +1,49 @@ +{ + "abbreviations": { + "segunda": "2ª", + "octubre": "8bre", + "doctores": "Drs", + "doctora": "Dra", + "internacional": "Intl", + "doctor": "Dr", + "segundo": "2º", + "señorita": "Srta", + "doctoras": "Drs", + "primera": "1ª", + "primero": "1º", + "san": "S", + "colonia": "Col", + "doña": "Dña", + "septiembre": "7bre", + "diciembre": "10bre", + "señor": "Sr", + "ayuntamiento": "Ayto", + "señora": "Sra", + "tercera": "3ª", + "tercero": "3º", + "don": "D", + "santa": "Sta", + "ciudad": "Cdad", + "noviembre": "9bre", + "departamento": "Dep" + }, + "classifications": { + "camino": "Cmno", + "avenida": "Av", + "paseo": "Pº", + "autopista": "Auto", + "calle": "C", + "plaza": "Pza", + "carretera": "Crta" + }, + "directions": { + "este": "E", + "noreste": "NE", + "sur": "S", + "suroeste": "SO", + "noroeste": "NO", + "oeste": "O", + "sureste": "SE", + "norte": "N" + } +} diff --git a/languages/abbreviations/fr.json b/languages/abbreviations/fr.json new file mode 100644 index 000000000..129e61b69 --- /dev/null +++ b/languages/abbreviations/fr.json @@ -0,0 +1,570 @@ +{ + "abbreviations": { + "allée": "All", + "aérodrome": "Aérod", + "aéroport": "Aérop" + }, + "classifications": { + "centrale": "Ctrale", + "campings": "Camp.", + "urbains": "Urb.", + "mineure": "Min.", + "publique": "Publ.", + "supérieur": "Sup.", + "fédération": "Féd.", + "notre-dame": "ND", + "saint": "St", + "centre hospitalier régional": "CHR", + "exploitation": "Exploit.", + "général": "Gal", + "civiles": "Civ.", + "maritimes": "Marit.", + "aviation": "Aviat.", + "iii": "3", + "archéologique": "Archéo.", + "musical": "Music.", + "musicale": "Music.", + "immeuble": "Imm.", + "xv": "15", + "hôtel": "Hôt.", + "alpine": "Alp.", + "communale": "Commun.", + "v": "5", + "global": "Glob.", + "université": "Univ.", + "confédéral": "Conféd.", + "xx": "20", + "x": "10", + "piscine": "Pisc.", + "dimanche": "di.", + "fleuve": "Flv", + "postaux": "Post.", + "musicienne": "Music.", + "département": "Dépt", + "février": "Févr.", + "municipales": "Munic.", + "province": "Prov.", + "communautés": "Commtés", + "barrage": "Barr.", + "mercredi": "me.", + "présidentes": "Pdtes", + "cafétérias": "Cafét.", + "théâtral": "Thé.", + "viticulteur": "Vitic.", + "poste": "Post.", + "spécialisée": "Spéc.", + "agriculture": "Agric.", + "infirmier": "Infirm.", + "animation": "Anim.", + "mondiale": "Mond.", + "arrêt": "Arr.", + "zone": "zon.", + "municipaux": "Munic.", + "grand": "Gd", + "janvier": "Janv.", + "fondateur": "Fond.", + "première": "1re", + "municipale": "Munic.", + "direction": "Dir.", + "anonyme": "Anon.", + "départementale": "Dépt", + "moyens": "Moy.", + "novembre": "Nov.", + "jardin": "Jard.", + "petites": "Pet.", + "privé": "Priv.", + "centres": "Ctres", + "forestier": "Forest.", + "xiv": "14", + "africaines": "Afric.", + "sergent": "Sgt", + "européenne": "Eur.", + "privée": "Priv.", + "café": "Cfé", + "xix": "19", + "hautes": "Htes", + "major": "Mjr", + "vendredi": "ve.", + "municipalité": "Munic.", + "sous-préfecture": "Ss-préf.", + "spéciales": "Spéc.", + "secondaires": "Second.", + "viie": "7e", + "moyenne": "Moy.", + "commerciale": "Commerc.", + "région": "Rég.", + "américaines": "Amér.", + "américains": "Amér.", + "service": "Sce", + "professeur": "Prof.", + "départemental": "Dépt", + "hôtels": "Hôt.", + "mondiales": "Mond.", + "ire": "1re", + "caporal": "Capo.", + "militaire": "Milit.", + "lycée d'enseignement professionnel": "LEP", + "adjudant": "Adj.", + "médicale": "Méd.", + "conférences": "Confér.", + "universelle": "Univ.", + "xiie": "12e", + "supérieures": "Sup.", + "naturel": "Natur.", + "société nationale": "SN", + "hospitalier": "Hosp.", + "culturelle": "Cult.", + "américain": "Amér.", + "son altesse royale": "S.A.R.", + "infirmière": "Infirm.", + "viii": "8", + "fondatrice": "Fond.", + "madame": "Mme", + "métropolitain": "Métrop.", + "ophtalmologues": "Ophtalmos", + "xviie": "18e", + "viiie": "8e", + "commerçante": "Commerç.", + "centre d'enseignement du second degré": "CES", + "septembre": "Sept.", + "agriculteur": "Agric.", + "xiii": "13", + "pontifical": "Pontif.", + "cafétéria": "Cafét.", + "prince": "Pce", + "vie": "6e", + "archiduchesse": "Archid.", + "occidental": "Occ.", + "spectacles": "Spect.", + "camping": "Camp.", + "métro": "Mº", + "arrondissement": "Arrond.", + "viticole": "Vitic.", + "ii": "2", + "siècle": "Si.", + "chapelles": "Chap.", + "centre": "Ctre", + "sapeur-pompiers": "Sap.-pomp.", + "établissements": "Étabts", + "société anonyme": "SA", + "directeurs": "Dir.", + "vii": "7", + "culturel": "Cult.", + "central": "Ctral", + "métropolitaine": "Métrop.", + "administrations": "Admin.", + "amiraux": "Amir.", + "sur": "\/", + "premiers": "1ers", + "provence-alpes-côte d'azur": "PACA", + "cathédrale": "Cathéd.", + "iv": "4", + "postale": "Post.", + "social": "Soc.", + "spécialisé": "Spéc.", + "district": "Distr.", + "technologique": "Techno.", + "viticoles": "Vitic.", + "ix": "9", + "protégés": "Prot.", + "historiques": "Hist.", + "sous": "s\/s", + "national": "Nal", + "ambassade": "Amb.", + "cafés": "Cfés", + "agronomie": "Agro.", + "sapeurs": "Sap.", + "petits": "Pet.", + "monsieur": "M.", + "boucher": "Bouch.", + "restaurant": "Restau.", + "lycée": "Lyc.", + "urbaine": "Urb.", + "préfecture": "Préf.", + "districts": "Distr.", + "civil": "Civ.", + "protégées": "Prot.", + "sapeur": "Sap.", + "théâtre": "Thé.", + "collège": "Coll.", + "mardi": "ma.", + "mémorial": "Mémor.", + "africain": "Afric.", + "républicaine": "Républ.", + "sociale": "Soc.", + "spécial": "Spéc.", + "technologie": "Techno.", + "charcuterie": "Charc.", + "commerces": "Commerc.", + "fluviale": "Flv", + "parachutistes": "Para.", + "primaires": "Prim.", + "directions": "Dir.", + "présidentiel": "Pdtl", + "nationales": "Nales", + "après": "apr.", + "samedi": "sa.", + "unité": "U.", + "xxiii": "23", + "associé": "Assoc.", + "électrique": "Électr.", + "populaire": "Pop.", + "asiatique": "Asiat.", + "navigable": "Navig.", + "présidente": "Pdte", + "xive": "14e", + "associés": "Assoc.", + "pompiers": "Pomp.", + "agricoles": "Agric.", + "élém": "Élém.", + "décembre": "Déc.", + "son altesse": "S.Alt.", + "après-midi": "a.-m.", + "mineures": "Min.", + "juillet": "Juil.", + "aviatrices": "Aviat.", + "fondation": "Fond.", + "pontificaux": "Pontif.", + "temple": "Tple", + "européennes": "Eur.", + "régionale": "Rég.", + "informations": "Infos", + "mondiaux": "Mond.", + "infanterie": "Infant.", + "archéologie": "Archéo.", + "dans": "d\/", + "hospice": "Hosp.", + "spectacle": "Spect.", + "hôtels-restaurants": "Hôt.-Rest.", + "hôtel-restaurant": "Hôt.-Rest.", + "hélicoptère": "hélico", + "xixe": "19e", + "cliniques": "Clin.", + "docteur": "Dr", + "secondaire": "Second.", + "municipal": "Munic.", + "générale": "Gale", + "château": "Chât.", + "commerçant": "Commerç.", + "avril": "Avr.", + "clinique": "Clin.", + "urbaines": "Urb.", + "navale": "Nav.", + "navigation": "Navig.", + "asiatiques": "Asiat.", + "pontificales": "Pontif.", + "administrative": "Admin.", + "syndicat": "Synd.", + "lundi": "lu.", + "petite": "Pet.", + "maritime": "Marit.", + "métros": "Mº", + "enseignement": "Enseign.", + "fluviales": "Flv", + "historique": "Hist.", + "comtés": "Ctés", + "résidentiel": "Résid.", + "international": "Int.", + "supérieure": "Sup.", + "centre hospitalier universitaire": "CHU", + "confédération": "Conféd.", + "boucherie": "Bouch.", + "fondatrices": "Fond.", + "médicaux": "Méd.", + "européens": "Eur.", + "orientaux": "Ori.", + "naval": "Nav.", + "étang": "Étg", + "provincial": "Prov.", + "junior": "Jr", + "départementales": "Dépt", + "musique": "Musiq.", + "directrices": "Dir.", + "maréchal": "Mal", + "civils": "Civ.", + "protégé": "Prot.", + "établissement": "Étabt", + "trafic": "Traf.", + "aviateur": "Aviat.", + "archives": "Arch.", + "africains": "Afric.", + "maternelle": "Matern.", + "industrielle": "Ind.", + "administratif": "Admin.", + "oriental": "Ori.", + "universitaire": "Univ.", + "majeur": "Maj.", + "haute": "Hte", + "communal": "Commun.", + "petit": "Pet.", + "commune": "Commun.", + "exploitant": "Exploit.", + "conférence": "Confér.", + "monseigneur": "Mgr", + "pharmacien": "Pharm.", + "jeudi": "je.", + "primaire": "Prim.", + "hélicoptères": "hélicos", + "agronomique": "Agro.", + "médecin": "Méd.", + "ve": "5e", + "pontificale": "Pontif.", + "ier": "1er", + "cinéma": "Ciné", + "fluvial": "Flv", + "occidentaux": "Occ.", + "commerçants": "Commerç.", + "banque": "Bq", + "moyennes": "Moy.", + "pharmacienne": "Pharm.", + "démocratique": "Dém.", + "cinémas": "Cinés", + "spéciale": "Spéc.", + "présidents": "Pdts", + "directrice": "Dir.", + "vi": "6", + "basse": "Bas.", + "xve": "15e", + "état": "É.", + "aviateurs": "Aviat.", + "majeurs": "Maj.", + "infirmiers": "Infirm.", + "église": "Égl.", + "confédérale": "Conféd.", + "xxie": "21e", + "comte": "Cte", + "européen": "Eur.", + "union": "U.", + "pharmacie": "Pharm.", + "infirmières": "Infirm.", + "comté": "Cté", + "sportive": "Sport.", + "deuxième": "2e", + "xvi": "17", + "haut": "Ht", + "médicales": "Méd.", + "développé": "Dévelop.", + "bâtiment": "Bât.", + "commerce": "Commerc.", + "ive": "4e", + "associatif": "Assoc.", + "rural": "Rur.", + "cimetière": "Cim.", + "régional": "Rég.", + "ferroviaire": "Ferr.", + "vers": "v\/", + "mosquée": "Mosq.", + "mineurs": "Min.", + "nautique": "Naut.", + "châteaux": "Chât.", + "sportif": "Sport.", + "mademoiselle": "Mle", + "école": "Éc.", + "doyen": "Doy.", + "industriel": "Ind.", + "chapelle": "Chap.", + "sociétés": "Stés", + "internationale": "Int.", + "coopératif": "Coop.", + "hospices": "Hosp.", + "xxii": "22", + "parachutiste": "Para.", + "alpines": "Alp.", + "civile": "Civ.", + "xvie": "17e", + "états": "É.", + "musée": "Msée", + "centrales": "Ctrales", + "globaux": "Glob.", + "supérieurs": "Sup.", + "syndicats": "Synd.", + "archevêque": "Archev.", + "docteurs": "Drs", + "bibliothèque": "Biblio.", + "lieutenant": "Lieut.", + "république": "Rép.", + "vétérinaire": "Vét.", + "départementaux": "Dépt", + "premier": "1er", + "fluviaux": "Flv", + "animé": "Anim.", + "orientales": "Ori.", + "technologiques": "Techno.", + "princesse": "Pse", + "routière": "Rout.", + "coopérative": "Coop.", + "scolaire": "Scol.", + "écoles": "Éc.", + "football": "Foot", + "territoriale": "Territ.", + "commercial": "Commerc.", + "mineur": "Min.", + "millénaires": "Mill.", + "association": "Assoc.", + "catholique": "Cathol.", + "administration": "Admin.", + "mairie": "Mair.", + "portuaire": "Port.", + "tertiaires": "Terti.", + "théâtrale": "Thé.", + "palais": "Pal.", + "troisième": "3e", + "directeur": "Dir.", + "vétérinaires": "Vét.", + "faculté": "Fac.", + "occidentales": "Occ.", + "viticulteurs": "Vitic.", + "xvii": "18", + "occidentale": "Occ.", + "amiral": "Amir.", + "professionnel": "Profess.", + "administratives": "Admin.", + "commerciales": "Commerc.", + "saints": "Sts", + "agronomes": "Agro.", + "stade": "Std", + "sous-préfet": "Ss-préf.", + "senior": "Sr", + "agronome": "Agro.", + "terrain": "Terr.", + "catholiques": "Cathol.", + "résidentielle": "Résid.", + "grands": "Gds", + "exploitants": "Exploit.", + "xiiie": "13e", + "croix": "Cx", + "généraux": "Gaux", + "crédit": "Créd.", + "cimetières": "Cim.", + "antenne": "Ant.", + "médical": "Méd.", + "collèges": "Coll.", + "musicien": "Music.", + "apostolique": "Apost.", + "postal": "Post.", + "territorial": "Territ.", + "urbanisme": "Urb.", + "préfectorale": "Préf.", + "fondateurs": "Fond.", + "information": "Info.", + "églises": "Égl.", + "ophtalmologue": "Ophtalmo", + "congrégation": "Congrég.", + "charcutier": "Charc.", + "étage": "ét.", + "consulat": "Consul.", + "public": "Publ.", + "ferrée": "Ferr.", + "matin": "mat.", + "société anonyme à responsabilité limitée": "SARL", + "monuments": "Mmts", + "protection": "Prot.", + "universel": "Univ.", + "nationale": "Nale", + "président": "Pdt", + "provinciale": "Prov.", + "agriculteurs": "Agric.", + "préfectoral": "Préf.", + "xxe": "20e", + "alpins": "Alp.", + "avant": "av.", + "infirmerie": "Infirm.", + "deux mil": "2000", + "rurale": "Rur.", + "administratifs": "Admin.", + "octobre": "Oct.", + "archipel": "Archip.", + "communauté": "Commté", + "globales": "Glob.", + "alpin": "Alp.", + "numéros": "Nºˢ", + "lieutenant-colonel": "Lieut.-Col.", + "jésus-christ": "J.-C.", + "agricole": "Agric.", + "sa majesté": "S.Maj.", + "associative": "Assoc.", + "xxi": "21", + "présidentielle": "Pdtle", + "moyen": "Moy.", + "fédéral": "Féd.", + "professionnelle": "Profess.", + "tertiaire": "Terti.", + "ixe": "9e", + "hôpital": "Hôp.", + "technologies": "Techno.", + "iiie": "3e", + "développement": "Dévelop.", + "monument": "Mmt", + "forestière": "Forest.", + "numéro": "Nº", + "viticulture": "Vitic.", + "traversière": "Traver.", + "technique": "Tech.", + "électriques": "Électr.", + "militaires": "Milit.", + "pompier": "Pomp.", + "américaine": "Amér.", + "préfet": "Préf.", + "congrégations": "Congrég.", + "pâtissier": "Pâtiss.", + "mondial": "Mond.", + "ophtalmologie": "Ophtalm.", + "sainte": "Ste", + "africaine": "Afric.", + "aviatrice": "Aviat.", + "doyens": "Doy.", + "société": "Sté", + "majeures": "Maj.", + "orientale": "Ori.", + "ministère": "Min.", + "archiduc": "Archid.", + "territoire": "Territ.", + "techniques": "Tech.", + "île-de-france": "IDF", + "globale": "Glob.", + "xe": "10e", + "xie": "11e", + "majeure": "Maj.", + "commerciaux": "Commerc.", + "maire": "Mair.", + "spéciaux": "Spéc.", + "grande": "Gde", + "messieurs": "MM", + "colonel": "Col.", + "millénaire": "Mill.", + "xi": "11", + "urbain": "Urb.", + "fédérale": "Féd.", + "ferré": "Ferr.", + "rivière": "Riv.", + "républicain": "Républ.", + "grandes": "Gdes", + "régiment": "Régim.", + "hauts": "Hts", + "catégorie": "Catég.", + "basses": "Bas.", + "xii": "12", + "agronomiques": "Agro.", + "iie": "2e", + "protégée": "Prot.", + "sapeur-pompier": "Sap.-pomp." + }, + "directions": { + "est-nord-est": "ENE", + "nord-est": "NE", + "ouest": "O", + "sud-est": "SE", + "est-sud-est": "ESE", + "nord-nord-est": "NNE", + "sud": "S", + "nord-nord-ouest": "NNO", + "nord-ouest": "NO", + "nord": "N", + "ouest-sud-ouest": "OSO", + "ouest-nord-ouest": "ONO", + "sud-ouest": "SO", + "sud-sud-est": "SSE", + "sud-sud-ouest": "SSO", + "est": "E" + } +} diff --git a/languages/abbreviations/lt.json b/languages/abbreviations/lt.json new file mode 100644 index 000000000..1c4c6c733 --- /dev/null +++ b/languages/abbreviations/lt.json @@ -0,0 +1,55 @@ +{ + "abbreviations": { + "nacionalinis": "Nac", + "universitetas": "Univ", + "aukštumos": "Aukš", + "kalnas": "Kln", + "parkas": "Pk", + "miesto centras": "M.Ctr", + "paminklas": "Pmkl", + "apartamentai": "Apt", + "tarptautinis": "Trptaut", + "kelias": "Kl", + "ežeras": "Ež", + "sankryža": "Skrž", + "taškas": "Tšk", + "šv": "Šv", + "turgus": "Tgs", + "stotis": "St", + "skveras": "Skv", + "miestelis": "Mstl", + "mokykla": "Mok", + "sesė": "Sesė", + "centras": "Ctr", + "tėvas": "Tėv", + "upelis": "Up", + "fortas": "Ft", + "upė": "Up", + "kaimas": "Km" + }, + "classifications": { + "prospektas": "Pspkt", + "tiltas": "Tlt", + "aplinkkelis": "Aplnk", + "takas": "Tak.", + "greitkelis": "Grtkl", + "kelias": "Kl", + "bulvaras": "Blvr", + "aikštė": "A.", + "pusratis": "Psrt", + "autostrada": "Auto.", + "kiemelis": "Kml", + "vieta": "Vt", + "juosta": "Jst" + }, + "directions": { + "pietūs": "P", + "vakarai": "V", + "šiaurė": "Š", + "šiaurės vakarai": "ŠV", + "pietryčiai": "PR", + "šiaurės rytai": "ŠR", + "rytai": "R", + "pietvakariai": "PV" + } +} diff --git a/languages/abbreviations/nl.json b/languages/abbreviations/nl.json new file mode 100644 index 000000000..99eb8ef6a --- /dev/null +++ b/languages/abbreviations/nl.json @@ -0,0 +1,46 @@ +{ + "abbreviations": { + "centrum": "Cntrm", + "nationaal": "Nat’l", + "berg": "Brg", + "meer": "Mr", + "kruising": "Krsng", + "toetreden": "Ttrdn" + }, + "classifications": { + "bypass": "Pass", + "brug": "Br", + "straat": "Str", + "rechtbank": "Rbank", + "snoek": "Snk", + "autobaan": "Baan", + "terras": "Trrs", + "punt": "Pt", + "plaza": "Plz", + "rijden": "Rijd", + "parkway": "Pky", + "inham": "Nham", + "snelweg": "Weg", + "halve maan": "Maan", + "cirkel": "Crkl", + "laan": "Ln", + "rijbaan": "Strook", + "weg": "Weg", + "lopen": "Lpn", + "autoweg": "Weg", + "boulevard": "Blvd", + "plaats": "Plts", + "steeg": "Stg", + "voetpad": "Stoep" + }, + "directions": { + "noordoost": "NO", + "westen": "W", + "zuiden": "Z", + "zuidwest": "ZW", + "oost": "O", + "zuidoost": "ZO", + "noordwest": "NW", + "noorden": "N" + } +} diff --git a/languages/abbreviations/pt-BR.json b/languages/abbreviations/pt-BR.json new file mode 100644 index 000000000..b8e4ce59a --- /dev/null +++ b/languages/abbreviations/pt-BR.json @@ -0,0 +1,77 @@ +{ + "abbreviations": { + "square": "Sq", + "centre": "Ctr", + "sister": "Sr", + "lake": "Lk", + "fort": "Ft", + "route": "Rte", + "william": "Wm", + "national": "Nat’l", + "junction": "Jct", + "center": "Ctr", + "saint": "St", + "saints": "SS", + "station": "Sta", + "mount": "Mt", + "junior": "Jr", + "mountain": "Mtn", + "heights": "Hts", + "university": "Univ", + "school": "Sch", + "international": "Int’l", + "apartments": "apts", + "crossing": "Xing", + "creek": "Crk", + "township": "Twp", + "downtown": "Dtwn", + "father": "Fr", + "senior": "Sr", + "point": "Pt", + "river": "Riv", + "market": "Mkt", + "village": "Vil", + "park": "Pk", + "memorial": "Mem" + }, + "classifications": { + "place": "Pl", + "circle": "Cir", + "bypass": "Byp", + "motorway": "Mwy", + "crescent": "Cres", + "road": "Rd", + "cove": "Cv", + "lane": "Ln", + "square": "Sq", + "street": "St", + "freeway": "Fwy", + "walk": "Wk", + "plaza": "Plz", + "parkway": "Pky", + "avenue": "Ave", + "pike": "Pk", + "drive": "Dr", + "highway": "Hwy", + "footway": "Ftwy", + "point": "Pt", + "court": "Ct", + "terrace": "Ter", + "walkway": "Wky", + "alley": "Aly", + "expressway": "Expy", + "bridge": "Br", + "boulevard": "Blvd", + "turnpike": "Tpk" + }, + "directions": { + "southeast": "SE", + "northwest": "NW", + "south": "S", + "west": "W", + "southwest": "SW", + "north": "N", + "east": "E", + "northeast": "NE" + } +} diff --git a/languages/abbreviations/ru.json b/languages/abbreviations/ru.json new file mode 100644 index 000000000..d4847e5fb --- /dev/null +++ b/languages/abbreviations/ru.json @@ -0,0 +1,31 @@ +{ + "classifications": { + "проезд": "пр-д", + "проспект": "пр.", + "переулок": "пер.", + "набережная": "наб.", + "площадь": "пл.", + "шоссе": "ш.", + "бульвар": "б.", + "тупик": "туп.", + "улица": "ул." + }, + "directions": { + "восток": "В", + "северо-восток": "СВ", + "юго-восток": "ЮВ", + "юго-запад": "ЮЗ", + "северо-запад": "СЗ", + "север": "С", + "запад": "З", + "юг": "Ю" + }, + "abbreviations": { + "город": "г.", + "станция": "ст.", + "посёлок": "п.", + "озеро": "о.", + "деревня": "д.", + "река": "р." + } +} diff --git a/languages/abbreviations/sv.json b/languages/abbreviations/sv.json new file mode 100644 index 000000000..454e62426 --- /dev/null +++ b/languages/abbreviations/sv.json @@ -0,0 +1,20 @@ +{ + "abbreviations": { + "sankta": "s:ta", + "gamla": "G:la", + "sankt": "s:t" + }, + "classifications": { + "Bro": "Br" + }, + "directions": { + "norr": "N", + "sydöst": "SO", + "väster": "V", + "öster": "O", + "nordväst": "NV", + "sydväst": "SV", + "söder": "S", + "nordöst": "NO" + } +} diff --git a/languages/abbreviations/vi.json b/languages/abbreviations/vi.json new file mode 100644 index 000000000..b465e6ef6 --- /dev/null +++ b/languages/abbreviations/vi.json @@ -0,0 +1,53 @@ +{ + "abbreviations": { + "viện bảo tàng": "VBT", + "thị trấn": "Tt", + "đại học": "ĐH", + "căn cứ không quan": "CCKQ", + "câu lạc bộ": "CLB", + "bưu điện": "BĐ", + "khách sạn": "KS", + "khu du lịch": "KDL", + "khu công nghiệp": "KCN", + "khu nghỉ mát": "KNM", + "thị xã": "Tx", + "khu chung cư": "KCC", + "phi trường": "PT", + "trung tâm": "TT", + "tổng công ty": "TCty", + "trung học cơ sở": "THCS", + "sân bay quốc tế": "SBQT", + "trung học phổ thông": "THPT", + "cao đẳng": "CĐ", + "công ty": "Cty", + "sân bay": "SB", + "thành phố": "Tp", + "công viên": "CV", + "sân vận động": "SVĐ", + "linh mục": "LM", + "vườn quốc gia": "VQG" + }, + "classifications": { + "huyện lộ": "HL", + "đường tỉnh": "ĐT", + "quốc lộ": "QL", + "xa lộ": "XL", + "hương lộ": "HL", + "tỉnh lộ": "TL", + "đường huyện": "ĐH", + "đường cao tốc": "ĐCT", + "đại lộ": "ĐL", + "việt nam": "VN", + "quảng trường": "QT", + "đường bộ": "ĐB" + }, + "directions": { + "tây": "T", + "nam": "N", + "đông nam": "ĐN", + "đông bắc": "ĐB", + "tây nam": "TN", + "đông": "Đ", + "bắc": "B" + } +} From 0c94eff3dfea391c6a66aa3537cfe659c5facc76 Mon Sep 17 00:00:00 2001 From: Daniel Paz-Soldan Date: Thu, 22 Feb 2018 16:00:48 -0500 Subject: [PATCH 2/7] Remove pt-BR --- languages.js | 2 - languages/abbreviations/pt-BR.json | 77 ------------------------------ 2 files changed, 79 deletions(-) delete mode 100644 languages/abbreviations/pt-BR.json diff --git a/languages.js b/languages.js index 2308efecc..1d4965e0d 100755 --- a/languages.js +++ b/languages.js @@ -33,7 +33,6 @@ var abbreviationsEs = require('./languages/abbreviations/es.json'); var abbreviationsFr = require('./languages/abbreviations/fr.json'); var abbreviationsLt = require('./languages/abbreviations/lt.json'); var abbreviationsNl = require('./languages/abbreviations/nl.json'); -var abbreviationsPtBr = require('./languages/abbreviations/pt-BR.json'); var abbreviationsRu = require('./languages/abbreviations/ru.json'); var abbreviationsSv = require('./languages/abbreviations/sv.json'); var abbreviationsVi = require('./languages/abbreviations/vi.json'); @@ -77,7 +76,6 @@ var abbreviations = { 'fr': abbreviationsFr, 'lt': abbreviationsLt, 'nl': abbreviationsNl, - 'pt-BR': abbreviationsPtBr, 'ru': abbreviationsRu, 'sv': abbreviationsSv, 'vi': abbreviationsVi diff --git a/languages/abbreviations/pt-BR.json b/languages/abbreviations/pt-BR.json deleted file mode 100644 index b8e4ce59a..000000000 --- a/languages/abbreviations/pt-BR.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "abbreviations": { - "square": "Sq", - "centre": "Ctr", - "sister": "Sr", - "lake": "Lk", - "fort": "Ft", - "route": "Rte", - "william": "Wm", - "national": "Nat’l", - "junction": "Jct", - "center": "Ctr", - "saint": "St", - "saints": "SS", - "station": "Sta", - "mount": "Mt", - "junior": "Jr", - "mountain": "Mtn", - "heights": "Hts", - "university": "Univ", - "school": "Sch", - "international": "Int’l", - "apartments": "apts", - "crossing": "Xing", - "creek": "Crk", - "township": "Twp", - "downtown": "Dtwn", - "father": "Fr", - "senior": "Sr", - "point": "Pt", - "river": "Riv", - "market": "Mkt", - "village": "Vil", - "park": "Pk", - "memorial": "Mem" - }, - "classifications": { - "place": "Pl", - "circle": "Cir", - "bypass": "Byp", - "motorway": "Mwy", - "crescent": "Cres", - "road": "Rd", - "cove": "Cv", - "lane": "Ln", - "square": "Sq", - "street": "St", - "freeway": "Fwy", - "walk": "Wk", - "plaza": "Plz", - "parkway": "Pky", - "avenue": "Ave", - "pike": "Pk", - "drive": "Dr", - "highway": "Hwy", - "footway": "Ftwy", - "point": "Pt", - "court": "Ct", - "terrace": "Ter", - "walkway": "Wky", - "alley": "Aly", - "expressway": "Expy", - "bridge": "Br", - "boulevard": "Blvd", - "turnpike": "Tpk" - }, - "directions": { - "southeast": "SE", - "northwest": "NW", - "south": "S", - "west": "W", - "southwest": "SW", - "north": "N", - "east": "E", - "northeast": "NE" - } -} From 359ee5a3bf2940a3018d96731858516c96b091ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Thu, 22 Feb 2018 13:21:27 -0800 Subject: [PATCH 3/7] Fixed typo in English abbreviations file --- languages/abbreviations/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/abbreviations/en.json b/languages/abbreviations/en.json index b8e4ce59a..8516a7872 100644 --- a/languages/abbreviations/en.json +++ b/languages/abbreviations/en.json @@ -20,7 +20,7 @@ "university": "Univ", "school": "Sch", "international": "Int’l", - "apartments": "apts", + "apartments": "Apts", "crossing": "Xing", "creek": "Crk", "township": "Twp", From c898f659c07e2d620c0b17927343df492ce9849f Mon Sep 17 00:00:00 2001 From: Daniel Paz-Soldan Date: Thu, 22 Feb 2018 16:25:33 -0500 Subject: [PATCH 4/7] Fix typos in changelog s/2017/2018 --- CHANGELOG.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fa53df23..2b248bbbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,24 +1,25 @@ # Change Log All notable changes to this project will be documented in this file. For change log formatting, see http://keepachangelog.com/ -## 0.11.5 2017-02-08 +## 0.11.5 2018-02-08 - Added "exit with number" to phrases. [#217](https://github.com/Project-OSRM/osrm-text-instructions/pull/217) -## 0.11.4 2017-01-29 +## 0.11.4 2018-01-29 - Added a Hebrew localization. [#210](https://github.com/Project-OSRM/osrm-text-instructions/pull/210) - Added a Danish localization. [#208](https://github.com/Project-OSRM/osrm-text-instructions/pull/207) - Extended ordinals support for Russian street names in grammar rules. [#192](https://github.com/Project-OSRM/osrm-text-instructions/pull/192) -## 0.11.3 2017-01-12 +## 0.11.3 2018-01-12 - Added a new phrase for a short arrival and short upcoming arrival case. [#207](https://github.com/Project-OSRM/osrm-text-instructions/pull/207) -## 0.11.2 2017-01-10 +## 0.11.2 2018-01-10 - Changed the phrases for forks to just say "Keep left onto [wayname]" (unless we have no information, in which case we still say "Keep left at the fork"). [#205](https://github.com/Project-OSRM/osrm-text-instructions/pull/205) -## 0.11.1 2017-01-02 + +## 0.11.1 2018-01-02 - Changed the phrases for roundabout turns to match turns at standard intersections. [#203](https://github.com/Project-OSRM/osrm-text-instructions/pull/203) From a438b251e7e56c5738f77b908dffc651162f8bdc Mon Sep 17 00:00:00 2001 From: Daniel Paz-Soldan Date: Thu, 22 Feb 2018 16:25:51 -0500 Subject: [PATCH 5/7] Add changelog entry --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b248bbbb..011b187f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Change Log All notable changes to this project will be documented in this file. For change log formatting, see http://keepachangelog.com/ +## 0.12.0 2018-02-22 + +- Added abbreviations for multiple languages. [#221](https://github.com/Project-OSRM/osrm-text-instructions/pull/221) + ## 0.11.5 2018-02-08 - Added "exit with number" to phrases. [#217](https://github.com/Project-OSRM/osrm-text-instructions/pull/217) From 9d7229ce0799cada59d774e637a9f7ae4dc99bab Mon Sep 17 00:00:00 2001 From: Daniel Paz-Soldan Date: Thu, 22 Feb 2018 16:30:25 -0500 Subject: [PATCH 6/7] Update readme to advertise abbreviations to translators and users --- Readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Readme.md b/Readme.md index 41a85a6b8..001c58ab9 100644 --- a/Readme.md +++ b/Readme.md @@ -12,6 +12,8 @@ OSRM Text Instructions could support [grammatical cases](https://github.com/Proj Grammatical cases and other translated strings customization after [Transifex](https://www.transifex.com/project-osrm/osrm-text-instructions/) is handled by [override scripts](https://github.com/Project-OSRM/osrm-text-instructions/tree/master/languages/overrides/). +Common abbreviations in multiple languages [are also available](https://github.com/Project-OSRM/osrm-text-instructions/pull/221). + [![NPM](https://nodei.co/npm/osrm-text-instructions.png)](https://npmjs.org/package/osrm-text-instructions/) ### Design goals @@ -106,6 +108,8 @@ To add an own translations: - Generate fixture strings for the tests via `UPDATE=1 npm test` (see changes in `git diff`) - Make a PR +Abbreviation translations are currently handled outside of Transifex. Please make a PR to add or edit [abbreviations](https://github.com/Project-OSRM/osrm-text-instructions/tree/master/languages/abbreviations/). + #### Release - Update CHANGELOG.md From fb67d909f5bad789f91cbe4becd81e9e68144161 Mon Sep 17 00:00:00 2001 From: Daniel Paz-Soldan Date: Fri, 23 Feb 2018 09:32:21 -0500 Subject: [PATCH 7/7] Fix french abbreviations with escaped / --- languages/abbreviations/fr.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/languages/abbreviations/fr.json b/languages/abbreviations/fr.json index 129e61b69..1996e2d64 100644 --- a/languages/abbreviations/fr.json +++ b/languages/abbreviations/fr.json @@ -154,7 +154,7 @@ "métropolitaine": "Métrop.", "administrations": "Admin.", "amiraux": "Amir.", - "sur": "\/", + "sur": "s/", "premiers": "1ers", "provence-alpes-côte d'azur": "PACA", "cathédrale": "Cathéd.", @@ -168,7 +168,7 @@ "ix": "9", "protégés": "Prot.", "historiques": "Hist.", - "sous": "s\/s", + "sous": "s/s", "national": "Nal", "ambassade": "Amb.", "cafés": "Cfés", @@ -232,7 +232,7 @@ "mondiaux": "Mond.", "infanterie": "Infant.", "archéologie": "Archéo.", - "dans": "d\/", + "dans": "d/", "hospice": "Hosp.", "spectacle": "Spect.", "hôtels-restaurants": "Hôt.-Rest.", @@ -352,7 +352,7 @@ "cimetière": "Cim.", "régional": "Rég.", "ferroviaire": "Ferr.", - "vers": "v\/", + "vers": "v/", "mosquée": "Mosq.", "mineurs": "Min.", "nautique": "Naut.",