ClickHouse/src/Functions/lemmatize.cpp

27 lines
451 B
C++
Raw Normal View History

2021-05-04 12:47:34 +00:00
#include <Functions/FunctionStringToString.h>
#include <Functions/lemmatizeImpl.h>
#include <Functions/FunctionFactory.h>
//#include <Poco/Unicode.h>
namespace DB
{
namespace
{
struct NameLemmatize
{
static constexpr auto name = "stem_en";
};
using FunctionLemmatize = FunctionStringToString<LemmatizeImpl, NameLemmatize>;
}
void registerFunctionLemmatize(FunctionFactory & factory)
{
factory.registerFunction<FunctionLemmatize>();
}
}