fixed typos in docs and code comments

This commit is contained in:
biswajit-k
2023-03-06 17:09:38 +05:30
parent 8191c747b9
commit 36388cafe9
7 changed files with 9 additions and 9 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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.