Giter Club home page Giter Club logo

i7h's Issues

[Feature] 添加反向接口

将i18n单词还原回原始单词。

正不正确不重要,随便找个能对上的还原回去就行了。效果应该很有意思。

3字单词是否应当缩写?

这好像涉及到i7n的定义是什么样的了--如果保持consistency的话好像2字和1字分别应该翻译成
to->t0o
A->A-1(?)A

如果换一定义,保留2字1字的单词为原样,那3字保留原样则可以增加一些可读性(雾

文档规范化提示

为遵循hXt规范,请将您的readme.md改为r4e.md
否则这个文件将成为这个项目的耻辱而一直存在。

[广告?] 一个 C 语言的重实现

我知道 issue 里不应该发这些,但是怎么有好几个这样的诶。我也要

是一个小的命令行程序:
https://github.com/SourLemonJuice/i18nglish.c

重新用 500 多行代码造轮子 ( ´_ゝ`)
(虽说实际处理部分不多)

编辑1:
好吧其实就是看着 star 数量醋坛子就翻了而已。
创意真的挺有趣的

编辑2:
emm 是 400 行,那个是又乱写了点东西的本地烂版本...

对中文进行适配

实例

原文

明天是小明十八岁数生日

转换后

m3g t3n s3 x3o m3g s3 b2 s3 s4g r2

格式如下

首先转换为无声调的拼音

ming tian shi xiao ming shi ba sui sheng ri

再将声调按照书写格式,放置在指定汉语拼音字母后方(如下)

míng tiān shì xiǎo míng shí bā suì shēng rì

mi2ng tia1n shi4 xia3o mi2ng shi2 ba1 sui4 she1ng ri4

最后转换。

当音调也就是数字位于结尾时,按照中间的字母处理。如下:

ma4 -> m2

mao1 -> m3

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.