Dicey 1.0.1

Dicey 1.0.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Joakim Gyllström.



Dicey 1.0.1

  • By
  • Joakim Gyllström

Dicey

Adjective

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

What

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

How

import Dicey

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

Who

Created by Joakim Gyllström, [email protected]

Heavily inspired by this blog post

License

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