TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Aug 2015 |
SPMSupports SPM | ✗ |
Maintained by Cory Alder.
Compute Levenshtein string differences using swift.
Started as a direct port of Mark Aufflick’s Objective-C “NSString+Levenshtein”, but it’s evolved a bit from there, espcially with regaurds to Swiftian idioms.
Pull requests welcome.
Roadmap? Implement some of the optimizations noted here:
http://stackoverflow.com/questions/26990394/slow-swift-arrays-and-strings-performance
To run the example project, clone the repo, and run pod install
from the Example directory first.
LevenshteinSwift uses Foundation, and is currently building for Swift 1.2 (Xcode 6.x). It has no external dependancies.
LevenshteinSwift is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "LevenshteinSwift"
LevenshteinSwift is available under the MIT license. See the LICENSE file for more info.