fix full term token in special phrases

This commit is contained in:
Sarah Hoffmann 2021-06-10 10:28:46 +02:00
parent 2e81084f35
commit 32ca631b74

View File

@ -335,7 +335,7 @@ class LegacyICUNameAnalyzer:
for word, cls, typ, oper in to_add:
term = self.name_processor.get_search_normalized(word)
if term:
copystr.add(word, term, cls, typ,
copystr.add(word, ' ' + term, cls, typ,
oper if oper in ('in', 'near') else None, 0)
added += 1