Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Add bulgarian locale.

Kishore Nallanf3353ed81f1f
diff --git a/src/tokenizer.cpp b/src/tokenizer.cpp
index 5688e27d..baa3132a 100644
--- a/src/tokenizer.cpp
+++ b/src/tokenizer.cpp
@@ -336,7 +336,7 @@ bool Tokenizer::next(std::string &token, size_t &token_index) {
}
bool Tokenizer::is_cyrillic(const std::string& locale) {
- return locale == "el" ||
+ return locale == "el" || locale == "bg" ||
locale == "ru" || locale == "sr" || locale == "uk" || locale == "be";
}