LevenshteinSwift 1.0.0

LevenshteinSwift 1.0.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Aug 2015
SPMSupports SPM

Maintained by Cory Alder.



LevenshteinSwift

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

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

LevenshteinSwift uses Foundation, and is currently building for Swift 1.2 (Xcode 6.x). It has no external dependancies.

Installation

LevenshteinSwift is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "LevenshteinSwift"

License

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