摘要: 【转】http://www.syyong.com/Go/Go-implements-the-soundex-algorithm.html SOUNDEX 返回由四个字符组成的代码 (SOUNDEX) 以评估两个字符串的相似性。 Soundex Github地址 https://github.com/ 阅读全文
posted @ 2018-04-25 11:05 syyong 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 【转】http://www.syyong.com/Go/Go-implements-the-string-similarity-calculation-function-Levenshtein-and-SimilarText.html levenshtein() 和 similar_text() 是 阅读全文
posted @ 2018-04-25 11:01 syyong 阅读(2263) 评论(0) 推荐(0) 编辑
摘要: 【转】http://www.syyong.com/Go/Go-implements-the-NumberFormat-algorithm.html NumberFormat — 以千位分隔符方式格式化一个数字。 NumberFormat // number_format() // decimals: 阅读全文
posted @ 2018-04-25 10:56 syyong 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 【转】 http://www.syyong.com/Go/Go-to-determine-whether-the-variable-is-a-legal-digital-algorithm.html IsNumeric — 检测变量是否为数字或数字字符串。 支持小数点、十六进制(hex)、科学计数法 阅读全文
posted @ 2018-04-25 10:55 syyong 阅读(8137) 评论(0) 推荐(0) 编辑
摘要: 【转】 http://www.syyong.com/Go/Go-implementation-version-comparison-VersionCompare-function.html VersionCompare — 用于对比两个的版本数字字符串大小。 此函数首先在版本字符串里用一个点 . 替 阅读全文
posted @ 2018-04-25 10:53 syyong 阅读(2122) 评论(0) 推荐(0) 编辑