switch housenumber tokens to new word table layout

This commit is contained in:
Sarah Hoffmann
2021-07-20 11:36:20 +02:00
parent 1618aba5f2
commit 5ab0a63fd6
3 changed files with 12 additions and 10 deletions

View File

@@ -601,7 +601,8 @@ class _TokenCache:
def get_hnr_tokens(self, conn, terms):
""" Get token ids for a list of housenumbers, looking them up in the
database if necessary.
database if necessary. `terms` is an iterable of normalized
housenumbers.
"""
tokens = []
askdb = []