ClickHouse/tests/queries/0_stateless/02133_classification.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
1.3 KiB
MySQL
Raw Normal View History

2021-12-30 04:25:36 +00:00
-- Tags: no-fasttest
-- Tag no-fasttest: depends on cld2 and nlp-data
2021-12-30 04:25:36 +00:00
2022-01-12 16:32:17 +00:00
SET allow_experimental_nlp_functions = 1;
2021-12-23 14:10:31 +00:00
SELECT detectLanguage('Они сошлись. Волна и камень, Стихи и проза, лед и пламень, Не столь различны меж собой.');
SELECT detectLanguage('Sweet are the uses of adversity which, like the toad, ugly and venomous, wears yet a precious jewel in his head.');
SELECT detectLanguage('A vaincre sans peril, on triomphe sans gloire.');
SELECT detectLanguage('二兎を追う者は一兎をも得ず');
SELECT detectLanguage('有情饮水饱,无情食饭饥。');
2022-01-19 10:31:04 +00:00
SELECT detectLanguage('*****///// _____ ,,,,,,,, .....');
2021-12-30 02:14:57 +00:00
SELECT detectLanguageMixed('二兎を追う者は一兎をも得ず二兎を追う者は一兎をも得ず A vaincre sans peril, on triomphe sans gloire.');
2022-01-19 10:31:04 +00:00
SELECT detectLanguageMixed('어디든 가치가 있는 곳으로 가려면 지름길은 없다');
SELECT detectLanguageMixed('*****///// _____ ,,,,,,,, .....');
2021-12-23 14:10:31 +00:00
SELECT detectCharset('Plain English');
SELECT detectLanguageUnknown('Plain English');
2022-01-10 15:36:32 +00:00
SELECT detectTonality('милая кошка');
SELECT detectTonality('ненависть к людям');
SELECT detectTonality('обычная прогулка по ближайшему парку');
2021-12-23 14:10:31 +00:00
SELECT detectProgrammingLanguage('#include <iostream>');