Skip to content

A string similarity metric diffing algorithm invented by splinestein for chat bot use.

License

Notifications You must be signed in to change notification settings

CavefulGames/stringdiff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stringdiff

A string similarity metric diffing algorithm invented by splinestein for primitive chat bot use.

How to use?

Install a package via pesde

pesde add caveful_games/stringdiff -t luau

pesde install

I've tested this for primitive chat bot use and it's working nicely.

It is worth mentioning that this will have O(n) complexity if iterating over any dataset, so keep the dataset small unless you use better querying techniques on the dataset like FTS.

Hope you enjoy. Feel free to suggest any changes.

About

A string similarity metric diffing algorithm invented by splinestein for chat bot use.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Luau 100.0%