We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 286d94c + 453a817 commit 1245d7eCopy full SHA for 1245d7e
src/NlpTools/Tokenizers/WhitespaceTokenizer.php
@@ -14,6 +14,6 @@ public function tokenize($str)
14
{
15
$arr = array();
16
17
- return preg_split(self::PATTERN,$str,null,PREG_SPLIT_NO_EMPTY);
+ return preg_split(self::PATTERN,$str,0,PREG_SPLIT_NO_EMPTY);
18
}
19
0 commit comments