Skip to content

This is Kotlin port of Joshaven Potter's string_score. It is created by creating a String extension.

License

Notifications You must be signed in to change notification settings

Franarroutado/KotlinString_Score

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codebeat badge

What is it

  • This is Kotlin port of Joshaven Potter's string_score. String Scoring Algorithm 0.1.22
  • Add an extension in Kotlin String class

Installation Notes

This code was developed using:

Examples

Add the source code into your project.

"Derideo Te".score("dt") //=> 0.63
"Derideo Te".score("DT") //=> 0.69

"Derideo Te".score("derideo") //=> 0.8178571428571427
"Derideo Te".score("Derideo") //=> 0 0.83

Tests and Benchmark

My tests & Benchmark are ported from Shingo Omura's java version.

$> gradle test

About

This is Kotlin port of Joshaven Potter's string_score. It is created by creating a String extension.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages