Giter Site home page Giter Site logo

beants / unicode_spider Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 4.02 MB

【爬虫 】爬取相似字符和中日韩统一表意文字(CJK Unified Ideographs) 的unicode对应关系;恢复因为非中日韩统一表意文字引起的文本变化

Python 100.00%

unicode_spider's Introduction

项目描述

  • https://www.fuhaoku.net/ 爬取 unicode 数据
  • data/unofficial_unicode.py中 包括对字符串进行处理,自动merge非标准字符
    ⽹网易 ⻓长江  --->   网易 长江
    
  • data 中的数据格式为:
    {
      "其他非标准Unicode":"中日韩统一表意文字Unicode"
    }

数据用途

  • 让机器读懂文本时,对非中日韩统一表意文字进行替换

使用教程

  • pip3 install -r requirement.txt
  • config.py文件中选择你想要url,替换到main.py
  • python3 main.py

TODO

  • 完成 康熙部首 及其对应字符的爬取工作
  • 完成 中日韩汉字部首补充 及其对应字符的爬取工作
  • 完成 汉文训读 及其对应字符的爬取工作
  • 完成 中日韩兼容表意文字 及其对应字符的爬取工作
  • 完成 中日韩兼容表意文字增补 及其对应字符的爬取工作
  • 完成数据清理工作
  • 完成存储工作
  • 优化数据存储

unicode_spider's People

Contributors

beants avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.