-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notice & Warning on lines 216, 217, 219 WordnetCorpus.php #72
Comments
Thanks for reporting the issue. I will check it out later this week.
Cheers,
…On Tue, Oct 5, 2021, 5:17 AM Muhammad Mehroz Anjum ***@***.***> wrote:
I am trying out your awesome library and I found notices & warnings on
lines 216, 217, 219 of php-text-analysis/src/corpus/WordnetCorpus.php
it happens when you call stem() with MorphStemmer class with wordnet
corpus:
$stemmedTokens = stem($top_keywords,
\TextAnalysis\Stemmers\MorphStemmer::class);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#72>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAID6TKGVET4KBKKVIYRCWTUFK7CRANCNFSM5FLJGZ7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@mehroz1 , please can you provide a test case for me to recreate the issue. Thanks, |
@yooper Here run this test file its also using PHP-ML you can remove those lines and provide tokens on line 60:
|
I am testing this library on PHP 8.0.11 and I solved this issue by using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying out your awesome library and I found notices & warnings on lines
216, 217, 219
ofphp-text-analysis/src/corpus/WordnetCorpus.php
it happens when you call stem() with MorphStemmer class with wordnet corpus:
$stemmedTokens = stem($top_keywords, \TextAnalysis\Stemmers\MorphStemmer::class);
The text was updated successfully, but these errors were encountered: