mikaoj / Dicey

A String matching framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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, joakim@backslashed.se

Heavily inspired by this blog post

License

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

About

A String matching framework

License:MIT License


Languages

Language:Swift 90.8%Language:Ruby 9.2%