Skip to content

philthompson/bird-partial-string-match

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

I was inspired to tinker with partial string match algorithms by the eBird mobile app, which doesn't use one!

I created simple HTML pages to experiment with and compare algorithms in JavaScript.

More discussion of this work has been posted to my blog.

Search Page

The search.html page runs the final algorithm. It can be viewed here.

Comparison Page

The compare.html page compares results from the algorithms used in development. It can be viewed here.

Levenshtein Distance

I implemented the "iterative with full matrix" Levenshtein Distance algorithm from the pseudocode on Wikipedia.

Bird Lists

For testing, I used eBird's "Printable Checklist" pages. After saving a page's HTML:

grep '<div class="subitem">' checklist.html | cut -d '>' -f 2 | cut -d '<' -f 1 | sort > checklist-birds.txt

License

MIT

About

Testing partial string match algorithms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages