Git Product home page Git Product logo

Comments (5)

luopeixiang avatar luopeixiang commented on May 11, 2024

运行时出现打开文件问题
UnicodeDecodeError: 'gbk' codec can't decode byte 0x98 in position 2: illegal multibyte sequence
但因为对build_corpus函数不熟悉,不知道参数是什么,无法改成utf-8格式。
想咨询博主应该怎么办,谢谢回答!
如果方便的话,想请博主给我一个联系方式,或者通过邮箱联系。我的个人邮箱是[email protected]
再次感谢!

你好,我在linux下面用python3运行的时候没有此问题,请问你使用的python版本是2还是3呢?

from named_entity_recognition.

beagood avatar beagood commented on May 11, 2024

您好,我是在windows下面用的python3.7版本,编译器用的是pycharm。

from named_entity_recognition.

luopeixiang avatar luopeixiang commented on May 11, 2024

UnicodeDecodeError这个问题已经通过更新data.py中的open函数解决

from named_entity_recognition.

beagood avatar beagood commented on May 11, 2024

已解决,谢谢!

from named_entity_recognition.

xuqiankun1104 avatar xuqiankun1104 commented on May 11, 2024

已解决,谢谢!如何解决的,可以细说一下嘛!谢谢

from named_entity_recognition.

Related Issues (20)

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.