Giter VIP home page Giter VIP logo

yongzhuo / tookit-sihui Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 15.0 50 KB

Tookit-Sihui, a tool of some common algorithm, AI文本混合科学计算器(calculator-sihui), 句子词频-逆文本频率(TF-IDF),搜索BM25, 前缀树搜索关键词(trietree), 模板匹配-递归函数(func_recursive),中文数字转阿拉伯数字(chinese to number),阿拉伯数字转汉语数字, HMM, CRF

Home Page: https://blog.csdn.net/rensihui

License: MIT License

Python 100.00%
toolkit tf-idf trie-tree hmm crf

tookit-sihui's People

Contributors

yongzhuo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tookit-sihui's Issues

怎么从一句话里挑出数字来?

按chinese_and_number 的规则,从一句话里挑出有意义的数字来非常复杂,一句话里如果有中文数字、阿拉伯数字、. 、点、判断哪些真是数字的一部分,怎么写?

一千五得到1005, 贰千伍输出0

    # 测试异常中文数字
    cn_num = ['两','十','一千五','一千零五','1000','贰千伍']
    for test_c in cn_num:
        print(ctn.compose_integer(test_c))
        print(ctn.str_to_number(test_c))

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.