#pragma once #include #include #include #include namespace DB { class Lemmatizer; class Lemmatizers { public: using LemmPtr = std::shared_ptr; private: std::mutex mutex; std::unordered_map lemmatizers; std::unordered_map paths; public: Lemmatizers(const Poco::Util::AbstractConfiguration & config); LemmPtr getLemmatizer(const String & name); }; }