You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @AlexNodex, the README example has a typo on its use. Simply change use StopWords/StopWords; with use StopWords\StopWords; while we are done with #13.
error:
Parse error: syntax error, unexpected token "/", expecting "," or ";" in.....
From example code:
use StopWords/StopWords;
$stopwords = new StopWords('en');
$stopwords->clean('your text to clean');
should be? Notice \ not /
use StopWords\StopWords;
$stopwords = new StopWords('en');
$cleanedText = $stopwords->clean('your text to clean');
The text was updated successfully, but these errors were encountered: