Aw: Re: Counting the number of repeated phrases in a column

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To:
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Aw: Re: Counting the number of repeated phrases in a column
Date: 2022-01-25 17:40:24
Message-ID: trinity-77c1fb29-01c6-4bd6-9148-79b74b51ec05-1643132423932@3c-app-gmx-bs05
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> How about split up the value into individual words and keep their orders?
> add words up to form individual phrase and ensure that each phrase only consists unique/distinct words
> count repeated phrases afterward
>  
> How about this?

Sure, if that serves your purpose ?

So far, we (I?) can't tell because you have yet to (computably) define "phrase".

Which may or may not solve the previous dilemma.

(Top-posting is not liked on this list, to my knowledge.)

Best,
Karsten

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2022-01-25 17:57:51 Re: Counting the number of repeated phrases in a column
Previous Message Shaozhong SHI 2022-01-25 17:30:31 Re: Counting the number of repeated phrases in a column