Fix partial word computation

Partial word tokens have a space at the beginning of the
token not the word.
This commit is contained in:
Sarah Hoffmann
2018-08-13 21:22:45 +02:00
parent 62b60c70e6
commit 0617768ee2

View File

@@ -138,7 +138,7 @@ class TokenList
} else {
$oToken = new Token\Word(
$iId,
$aWord['word'][0] != ' ',
$aWord['word_token'][0] != ' ',
(int) $aWord['count']
);
}