@whiteslove/parsing-lexicon 0.6.7 → 0.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiteslove/parsing-lexicon",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Shared deterministic multilingual parsing lexicon for WhitesLove housing and hiring services",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,9 @@ const SHOP_CHAINS = Object.freeze([
20
20
  ['Havas', /(?:^|[^\p{L}\p{N}_])[хxh]avas(?=$|[^\p{L}\p{N}_])|хавас/iu],
21
21
  ['Carrefour', /carrefour|карфур/iu],
22
22
  ['ATB', /(?:^|[^\p{L}\p{N}_])(?:атб|atb)(?=$|[^\p{L}\p{N}_])/iu],
23
- ['Klass', /(?:^|[^\p{L}\p{N}_])(?:klass|класс)(?=$|[^\p{L}\p{N}_])/iu],
23
+ // Hyphen excluded on both sides: the chain is a shop name, while
24
+ // "бизнес-класс" / "эконом-класс" / "премиум-класс" describe the housing.
25
+ ['Klass', /(?:^|[^\p{L}\p{N}_-])(?:klass|класс)(?=$|[^\p{L}\p{N}_-])/iu],
24
26
  ['Magnum', /magnum|магнум/iu],
25
27
  ['Bravo', /(?:^|[^\p{L}\p{N}_])bravo(?=$|[^\p{L}\p{N}_])|браво/iu],
26
28
  ['Metro C&C', /(?:^|[^\p{L}\p{N}_])metro\s*(?:cash|c\s*&\s*c|market)|метро\s*кэш/iu],
@@ -150,6 +150,7 @@ export const TASHKENT_RESIDENTIAL_COMPLEXES = Object.freeze([
150
150
  complex('Olmos Residence'),
151
151
  complex('Olmazor City', ['Алмазар Сити', 'Олмазор Сити']),
152
152
  complex('Orzu'),
153
+ complex('Orzu Saroyi', ['Орзу Саройи', 'Orzu Saroy', 'Орзу Сарой']),
153
154
  complex('OQSAROY', ['ОК САРОЙ', 'Оксарой', 'Oq Saroy', 'Oq-Saroy']),
154
155
  complex('O\'zbegim', ['Узбегим', 'O‘zbegim', 'Oʻzbegim', 'Ozbegim']),
155
156
  complex('O\'z Mahal', ['Озмахал', 'Узмахал', 'O‘z Mahal', 'Oʻz Mahal', 'Oz Mahal']),