Giter VIP home page Giter VIP logo

Comments (7)

ShawWang1991 avatar ShawWang1991 commented on July 29, 2024 1

可以分享一下解决方法吗?

from keyword_extraction.

mikiihuang avatar mikiihuang commented on July 29, 2024

哈哈哈哈哈 我改好啦~~~谢谢大佬的代码啦~~(#^.^#)

from keyword_extraction.

gezimonkey avatar gezimonkey commented on July 29, 2024

哈哈哈哈哈 我改好啦~~~谢谢大佬的代码啦~~(#^.^#)

我也一样遇到这个问题了,请问怎么解决的?

from keyword_extraction.

mikiihuang avatar mikiihuang commented on July 29, 2024

哈哈哈哈哈 我改好啦~~~谢谢大佬的代码啦~~(#^.^#)

我也一样遇到这个问题了,请问怎么解决的?

具体改的哪里我记不清了,还是中文编码的问题,看一下那个读取的csv文件是什么编码方式,然后找代码里哪里读入的,你可以在读入的时候打印一下是不是这个时候就变成乱码了,然后一点一点的改。

from keyword_extraction.

xiamaozi11 avatar xiamaozi11 commented on July 29, 2024

把里面的encode都给去了就好了,楼主的是2.7的版本

from keyword_extraction.

liyang0 avatar liyang0 commented on July 29, 2024

name.append(word.encode('utf8'))把这种encode去掉就行了

from keyword_extraction.

201901 avatar 201901 commented on July 29, 2024

image
name.append(word.encode('utf8'))把这种encode(‘utf8’)去掉就okok

from keyword_extraction.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.