Coder Social home page Coder Social logo

Comments (5)

RobinQu avatar RobinQu commented on July 30, 2024

用的很简单的方法,没有用字典。
两分语料文件,列出常用汉字,繁体、简体各一份,同一个字所在索引号一致,这样就互相对应起来了。最后根据字符串的indexOf方法进行查找、替换。

from simplebig.

1c7 avatar 1c7 commented on July 30, 2024

话说这两份语聊文件都是手打的吗,怎么感觉全都是非常生僻的字。

from simplebig.

1c7 avatar 1c7 commented on July 30, 2024

sc.txt
tc.txt
我指的是这两份文件.

from simplebig.

RobinQu avatar RobinQu commented on July 30, 2024

收集于互联网。。。。。
繁体和简体都有自己的标准字库,严格来说,这两个文件远远不够。

from simplebig.

1c7 avatar 1c7 commented on July 30, 2024

感谢解答..:D

from simplebig.

Related Issues (3)

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.