diff --git a/src/Interpreters/Lemmatizers.cpp b/src/Interpreters/Lemmatizers.cpp index 05e91e7cea8..c583108cf69 100644 --- a/src/Interpreters/Lemmatizers.cpp +++ b/src/Interpreters/Lemmatizers.cpp @@ -36,9 +36,10 @@ public: Lemmatizers::Lemmatizers(const Poco::Util::AbstractConfiguration & config) { const String prefix = "lemmatizers"; + if (!config.has(prefix)) return; - + Poco::Util::AbstractConfiguration::Keys keys; config.keys(prefix, keys);