Coder Social home page Coder Social logo

similarcharactor's Introduction

SimilarCharactor

对常用的6700个汉字进行音、形比较,输出一个相近字的列表。

Character文件是汉字总列表

Dict存放了四角码、相似音和结构字典

WriteNum是爬取和输出笔画数字典的爬虫

writenumDict是笔画数字典

Symbol_Structure是爬取结构代码的爬虫

JudgeSimilarity根据字形和音加权计算相似度输出相近字,是主函数

TransChar2Img将汉字转化为图片并保存

ProcessWithCV2将汉字图片进行对比,近似度超过阈值则写入文件

————————————————————————附件——————————————

四角编码字典7000字是标准四角码,为4位

四角编码字典70000字是带有辅码,为5位

结构字典中,1为左右结构,2为上下结构,3为左中右结构,4为上中下结构,5为全包围结构

笔画数字典为汉字的总笔画数。

similarcharactor's People

Contributors

contr4l avatar mystical001 avatar

Stargazers

Sigrid avatar

Watchers

James Cloos 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.