Skip to content

CrunchyBagel/StringMetric.swift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StringMetric.swift

Build Status

String metric functions implemented in Swift.

Currently, following functions are implemented,

Usage

For Swift Package Manager users, add this module as dependency in Package.swift,

.Package(url: "https://github.com/autozimu/StringMetric.swift.git", majorVersion: 0)

Example

"kitten".distance(between: "sitting")    // => 0.746
"君子和而不同".distance(between: "小人同而不和")    // => 0.555

Documentation

https://autozimu.github.io/StringMetric.swift/

About

String metric/similarity functions implemented in Swift.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 96.5%
  • Makefile 3.5%