Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.03 KB

README.zh.md

File metadata and controls

36 lines (26 loc) · 1.03 KB

“好蒙你”字符串替换算法及其实现

English version.

“好蒙你”字符串替换算法(Harmony String Replacing Algorithm,简称 HSR)是一种可以感知大小写的字符串替换算法。 HSR 使用目前最先进的机器学习技术和高等抽象代数为原始字符串数构造替代串,精准漂亮优美

HSR 致力于解决为事物重新命名这一痛点。

演示

蒙之 = HSR["windows","harmony"];
蒙之 @ "windows 10 is the newest W.I.N.D.O.W.S version"
蒙之 @ "Windows 2000 is built on NT"
蒙之 @ "WINdows is funny"

(*Output*)
"Harmony 10 is the newest H.A.R.M.O.N.Y version"
"Harmony 2000 is built on NT"
"HARmony is funny"

参考实现

提供基于以下多种编程语言(按字母表顺序排列)的参考实现:

所有实现皆已经过形式化方法验证。