Ng Wai Foong
May 4, 2021

--

Hi, I just tried your scripts and it seems to be working properly, did you mis-indent the last line of code? You can copy the following and test it out:

https://gist.github.com/wfng92/76863e680346fc3666980c893181f541

I got the following results.

这个产品很好用 0.7853504415636449

这个产品不好用 0.5098208142944668

这个产品是垃圾 0.13082804652201174

这个也太贵了吧 0.5

超级垃圾 0.0954842128485538

是个垃圾中的垃圾 0.04125325276132508

Do let me know if I mis-understood your question.

--

--

Ng Wai Foong
Ng Wai Foong

Written by Ng Wai Foong

Senior AI Engineer@Yoozoo | Content Writer #NLP #datascience #programming #machinelearning | Linkedin: https://www.linkedin.com/in/wai-foong-ng-694619185/

Responses (1)