GithubHelp home page GithubHelp logo

中文数据集怎么预处理 about w2ner HOT 6 CLOSED

ljynlp avatar ljynlp commented on August 13, 2024
中文数据集怎么预处理

from w2ner.

Comments (6)

ljynlp avatar ljynlp commented on August 13, 2024 3

请问中英文,包含数字,比如“扎克伯格是facebook的ceo,今年37岁”。那么facebook和37也都拆成单个的数组元素吗

是的,由于我们拿到的中文数据本身就是以字符分割的,并且英语单词之间没有空格,为了方便就直接以字符序列作为输入了。当然如果对输入进行预处理分好词,效果应该会更好。

from w2ner.

songbaiTalk avatar songbaiTalk commented on August 13, 2024 2

不需要分词,以字符为单位即可

请问中英文,包含数字,比如“扎克伯格是facebook的ceo,今年37岁”。那么facebook和37也都拆成单个的数组元素吗

from w2ner.

ljynlp avatar ljynlp commented on August 13, 2024

不需要分词,以字符为单位即可

from w2ner.

10652835 avatar 10652835 commented on August 13, 2024

是的,由于我们拿到的中文数据本身就是以字符分割的,并且英语单词之间没有空格,为了方便就直接以字符序列作为输入了。当然如果对输入进行预处理分好词,效果应该会更好。

不需要分词,以字符为单位即可

请问中文数据集中的word是如何处理的?是根据字典匹配的吗,如果是的话,针对匹配的词是选择最长的词吗?

from w2ner.

nlper01 avatar nlper01 commented on August 13, 2024

分词吗

你好,请问可以分享一下中文数据集预处理的代码吗?邮箱[email protected]

from w2ner.

nlper01 avatar nlper01 commented on August 13, 2024

请问中英文,包含数字,比如“扎克伯格是facebook的ceo,今年37岁”。那么facebook和37也都拆成单个的数组元素吗

是的,由于我们拿到的中文数据本身就是以字符分割的,并且英语单词之间没有空格,为了方便就直接以字符序列作为输入了。当然如果对输入进行预处理分好词,效果应该会更好。

大佬,如果是分词后输入,那我的lable怎么对齐到单个字上面呢?

from w2ner.

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.