mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
27 lines
451 B
C++
27 lines
451 B
C++
|
#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>();
|
||
|
}
|
||
|
|
||
|
}
|