forked from hans/Nominatim
fixed typos in docs and code comments
This commit is contained in:
@@ -74,7 +74,7 @@ class _PostcodeSanitizer:
|
||||
|
||||
|
||||
def create(config: SanitizerConfig) -> Callable[[ProcessInfo], None]:
|
||||
""" Create a housenumber processing function.
|
||||
""" Create a function that filters postcodes by their officially allowed pattern.
|
||||
"""
|
||||
|
||||
return _PostcodeSanitizer(config)
|
||||
|
||||
@@ -41,6 +41,6 @@ def _clean_tiger_county(obj: ProcessInfo) -> None:
|
||||
|
||||
|
||||
def create(_: SanitizerConfig) -> Callable[[ProcessInfo], None]:
|
||||
""" Create a housenumber processing function.
|
||||
""" Create a function that preprocesses tags from the TIGER import.
|
||||
"""
|
||||
return _clean_tiger_county
|
||||
|
||||
@@ -12,7 +12,7 @@ If a name already has an analyzer tagged, then this is kept.
|
||||
Arguments:
|
||||
|
||||
filter-kind: Restrict the names the sanitizer should be applied to
|
||||
to the given tags. The parameter expects a list of
|
||||
the given tags. The parameter expects a list of
|
||||
regular expressions which are matched against 'kind'.
|
||||
Note that a match against the full string is expected.
|
||||
whitelist: Restrict the set of languages that should be tagged.
|
||||
|
||||
Reference in New Issue
Block a user