2021-05-28 23:06:13 +03:00
|
|
|
normalization:
|
|
|
|
- ":: lower ()"
|
2021-08-31 12:18:34 +03:00
|
|
|
- ":: Hans-Hant"
|
2021-06-26 20:38:08 +03:00
|
|
|
- !include icu-rules/unicode-digits-to-decimal.yaml
|
|
|
|
- "'№' > 'no'"
|
|
|
|
- "'n°' > 'no'"
|
|
|
|
- "'nº' > 'no'"
|
|
|
|
- "ª > a"
|
|
|
|
- "º > o"
|
|
|
|
- "[[:Punctuation:][:Symbol:]] > ' '"
|
2021-05-28 23:06:13 +03:00
|
|
|
- "ß > 'ss'" # German szet is unimbigiously equal to double ss
|
2021-06-26 20:38:08 +03:00
|
|
|
- "[^[:Letter:] [:Number:] [:Space:]] >"
|
|
|
|
- "[:Lm:] >"
|
|
|
|
- ":: [[:Number:]] Latin ()"
|
|
|
|
- ":: [[:Number:]] Ascii ();"
|
|
|
|
- ":: [[:Number:]] NFD ();"
|
|
|
|
- "[[:Nonspacing Mark:] [:Cf:]] >;"
|
|
|
|
- "[:Space:]+ > ' '"
|
2021-06-21 00:45:33 +03:00
|
|
|
transliteration:
|
2021-06-26 20:38:08 +03:00
|
|
|
- ":: Latin ()"
|
2021-06-21 00:45:33 +03:00
|
|
|
- !include icu-rules/extended-unicode-to-asccii.yaml
|
|
|
|
- ":: Ascii ()"
|
|
|
|
- ":: NFD ()"
|
|
|
|
- "[^[:Ascii:]] >"
|
|
|
|
- ":: lower ()"
|
|
|
|
- ":: NFC ()"
|
2021-09-30 22:30:13 +03:00
|
|
|
sanitizers:
|
|
|
|
- step: split-name-list
|
|
|
|
- step: strip-brace-terms
|
2021-10-05 18:18:10 +03:00
|
|
|
- step: tag-analyzer-by-language
|
|
|
|
filter-kind: [".*name.*"]
|
|
|
|
whitelist: [bg,ca,cs,da,de,el,en,es,et,eu,fi,fr,gl,hu,it,ja,mg,ms,nl,no,pl,pt,ro,ru,sk,sl,sv,tr,uk,vi]
|
|
|
|
use-defaults: all
|
|
|
|
mode: append
|
2021-10-04 17:40:28 +03:00
|
|
|
token-analysis:
|
2021-10-04 18:34:30 +03:00
|
|
|
- analyzer: generic
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: bg
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
2021-10-04 18:34:30 +03:00
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-bg.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: ca
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-ca.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: cs
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-cs.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: da
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-da.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: de
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-de.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: el
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-el.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: en
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-en.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: es
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-es.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: et
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-et.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: eu
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-eu.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: fi
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-fi.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: fr
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-fr.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: gl
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-gl.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: hu
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-hu.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: it
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-it.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: ja
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-ja.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: mg
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-mg.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: ms
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-ms.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: nl
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-nl.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: no
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-no.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: pl
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-pl.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: pt
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-pt.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: ro
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-ro.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: ru
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-ru.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: sk
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-sk.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: sl
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-sl.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: sv
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-sv.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: tr
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-tr.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: uk
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-uk.yaml
|
2021-10-05 18:18:10 +03:00
|
|
|
- id: vi
|
|
|
|
analyzer: generic
|
|
|
|
mode: variant-only
|
|
|
|
variants:
|
2021-10-04 17:40:28 +03:00
|
|
|
- !include icu-rules/variants-vi.yaml
|