forked from hans/Nominatim
make token analyzers configurable modules
Adds a mandatory section 'analyzer' to the token-analysis entries which define, which analyser to use. Currently there is exactly one, generic, which implements the former ICUNameProcessor.
This commit is contained in:
@@ -28,7 +28,8 @@ sanitizers:
|
||||
- step: split-name-list
|
||||
- step: strip-brace-terms
|
||||
token-analysis:
|
||||
- variants:
|
||||
- analyzer: generic
|
||||
variants:
|
||||
- !include icu-rules/variants-bg.yaml
|
||||
- !include icu-rules/variants-ca.yaml
|
||||
- !include icu-rules/variants-cs.yaml
|
||||
|
||||
Reference in New Issue
Block a user