项目作者: mikaoj

项目描述 :
A String matching framework
高级语言: Swift
项目地址: git://github.com/mikaoj/Dicey.git
创建时间: 2017-03-27T10:57:33Z
项目社区:https://github.com/mikaoj/Dicey

开源协议:MIT License

下载


Dicey

CI Status
Version
License

Adjective

Unpredictable and potentially dangerous. ‘democracy is a dicey business’

What

Dicey is a string matching framework using Sørensen–Dice coefficient algorithm.

How

  1. import Dicey
  2. "Healed".similarity(with: "Sealed") // About 80% similarity
  3. "Web Database Applications".similarity(with: "Creating Database Web Applications with PHP and ASP") // 71%
  4. "Web Database Applications".similarity(with: "Building Web Database Applications with Visual Studio 6") // 67%

Who

Created by Joakim Gyllström, joakim@backslashed.se

Heavily inspired by this blog post

License

Dicey is available under the MIT license. See the LICENSE file for more info.