pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karsten Hilbert <Karsten.Hilbert@gmx.net>
To: pgsql-general@postgresql.org
Subject: Re: Slides for PGCon2016; "FTS is dead ? Long live FTS !"
Date: Sun, 29 May 2016 21:04:47 +0200
Message-ID: <20160529190447.GK22316@hermes.hilbert.loc> (raw)
In-Reply-To: <CAF4Au4w6--_xqyAdeK2Ep_yZG4Hk6PSf0ArpLw5QJfFjBipO-A@mail.gmail.com>
References: <CAF4Au4xKKx4s9Q4WcjB=4b1WYiQp6oj6wyRAijd68wGpAH_GAA@mail.gmail.com>
	<VisenaEmail.55.526968acce960a61.154fbd75557@tc7-visena>
	<CAF4Au4w6--_xqyAdeK2Ep_yZG4Hk6PSf0ArpLw5QJfFjBipO-A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

>> I submitted slides to pgcon site, but it usually takes awhile, so you can
>> download our presentation directly
>> http://www.sai.msu.su/~megera/postgres/talks/pgcon-2016-fts.pdf

Looking at slide 39 (attached) I get the impression that I
should be able to do the following:


- turn a coding system (say, ICD-10) into a dictionary
  by splitting the terms into single words

	say, "diabetes mellitus -> "diabetes", "mellitus"

- define stop words like "left", "right", ...

	say, "fracture left ulna" -> the "left" doesn't
	matter as far as coding is concerned

- also turn that coding system into queries by splitting
  the terms into single words, concatenating them
  with "&", and setting the ICD 10 code as tag on them

	say, "diabetes mellitus" -> "diabetes & mellitus [E11]"

- run an inverse FTS (FQS) against a user supplied string
  thereby finding queries (= tags = ICD10 codes) likely
  relevant to the input

	say, to_tsvector("patient was suspected to suffer from diabetes mellitus")
	-> tag = E11


Possible, not possible, insane, unintended use ?

Thanks,
Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Attachments:

  [application/pdf] pgcon-2016-fts-Seite-39.pdf (31.0K, ../20160529190447.GK22316@hermes.hilbert.loc/2-pgcon-2016-fts-Seite-39.pdf)
  download

view thread (15+ messages)  latest in thread

Message-ID: <20160529190447.GK22316@hermes.hilbert.loc>
Permalink:  ../20160529190447.GK22316@hermes.hilbert.loc/
Also on:    postgresql.org/message-id/20160529190447.GK22316@hermes.hilbert.loc

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: Karsten.Hilbert@gmx.net
  Subject: Re: Slides for PGCon2016; "FTS is dead ? Long live FTS !"
  In-Reply-To: <20160529190447.GK22316@hermes.hilbert.loc>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox