mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fix ya.make
This commit is contained in:
parent
9c1d2a31a2
commit
9947f557c8
BIN
src/Functions/.ya.make.swo
Normal file
BIN
src/Functions/.ya.make.swo
Normal file
Binary file not shown.
@ -23,12 +23,13 @@ struct LanguageClassificationImpl
|
||||
{
|
||||
String ans(LanguageName(CLD2::DetectLanguage(str, strlen(str), true, &is_UTF8)));
|
||||
res = ans;
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
CLD2::Language result_lang_top3[3];
|
||||
int pc[3];
|
||||
int bytes[3];
|
||||
CLD2::DetectLanguageSummary(str, strlen(str), true, result_lang_top3, pc, bytes, &is_UTF8);
|
||||
|
||||
String lang1(LanguageName(result_lang_top3[0]));
|
||||
String lang2(LanguageName(result_lang_top3[1]));
|
||||
String lang3(LanguageName(result_lang_top3[2]));
|
||||
|
@ -14,7 +14,7 @@ namespace DB
|
||||
*
|
||||
* detectCharset(string data) - detect charset of data.
|
||||
* Returns string name of most likely charset.
|
||||
* .
|
||||
*
|
||||
* detectLanguage(string data) - detect language of data in various encodings (not UTF-8)
|
||||
*
|
||||
* getTonality(string data) - defines the emotional coloring of the text.
|
||||
|
@ -59,6 +59,7 @@ SRCS(
|
||||
FunctionsCharsetClassification.cpp
|
||||
FunctionsTonalityClassification.cpp
|
||||
FunctionsProgrammingClassification.cpp
|
||||
FunctionsLanguageClassification.cpp
|
||||
GatherUtils/concat.cpp
|
||||
GatherUtils/createArraySink.cpp
|
||||
GatherUtils/createArraySource.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user