restrict depth of word set calculation

This commit is contained in:
Sarah Hoffmann
2013-04-20 00:18:08 +02:00
parent 9e0a92a508
commit b4c87a09a1
2 changed files with 11 additions and 9 deletions

View File

@@ -390,7 +390,7 @@
{
$aPhrases[$iPhrase] = $aPhrase;
$aPhrases[$iPhrase]['words'] = explode(' ',$aPhrases[$iPhrase]['string']);
$aPhrases[$iPhrase]['wordsets'] = getWordSets($aPhrases[$iPhrase]['words']);
$aPhrases[$iPhrase]['wordsets'] = getWordSets($aPhrases[$iPhrase]['words'], 0);
$aTokens = array_merge($aTokens, getTokensFromSets($aPhrases[$iPhrase]['wordsets']));
}
else