Я пытался использовать функцию нечеткого сопоставления, доступную в PostgreSQL, но это не дало желаемых результатов.
Предположим, это и есть вопрос
Код: Выделить всё
the quick brown fox jumps over the lazy dog
Код: Выделить всё
create table test(txt) as values
('the quick brown fox jumps over the lazy dog')
,('over the lazy dog the quick brown fox jumps')
,('jumps over the lazy dog quick brown the fox')
,('lazy dog jumps the quick brown fox over the');
Подробнее здесь: https://stackoverflow.com/questions/790 ... ven-string