C/C++ fuzzy string search library bounty

I can grant $200 to a developer upon completion of a C or C++ library that roughly mirrors fuse.js’s functionality with a MIT/BSD-like license. Your API must roughly provide the features in this API example.

template <typename Key = std::string>
struct FuzzySearchDatabase {
	void addEntry(Key key, std::vector<std::string> strings);
	void setCaseSensitive(bool);
	void setWeights(std::vector<float> weights);
	void setThreshold(float);
	std::vector<Key> search(std::string query);

Code must be 100% correct and not crash for all inputs. Email contact@vcvrack.com if you’d like to develop this project.