forked from hans/Nominatim
Fix partial word computation
Partial word tokens have a space at the beginning of the token not the word.
This commit is contained in:
@@ -138,7 +138,7 @@ class TokenList
|
||||
} else {
|
||||
$oToken = new Token\Word(
|
||||
$iId,
|
||||
$aWord['word'][0] != ' ',
|
||||
$aWord['word_token'][0] != ' ',
|
||||
(int) $aWord['count']
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user