Coder Social home page Coder Social logo

get_chinese_from_file's Introduction

get_chinese_from_file

程序功能:从GB2312编码的文件里面提取出中文,方便做嵌入式字体 设计初衷: 解决手工处理老项目里面的中文工作量大且容易出错问题 程序依赖:需安装python, 实测python2.7 使用方法:python getzh.py a.c b.c

值得说明的是,后面跟的文件可以是无数多个, 程序执行后会输出为gb2312.txt 和utf8.txt,分别对应两种不同编码的文件。

程序提取中文后并没有去重复,配合如下网友的工具可以完美去重并生成字体: http://www.armbbs.cn/forum.php?mod=viewthread&tid=87428

如果觉得工具好用,请start, 如果有更好的实现,帮忙comments, 谢谢!

BRs Wufeng

get_chinese_from_file's People

Contributors

fogwizard avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.