empty preferredText

2021-12-07 Thread Miller, Timothy
Hello, I'm using the dictionary lookup (through ctakes-web-rest) and trying to read off the preferredText that comes back as a human-readable way to display the CUI. On a very small percentage, there does not seem to be any preferredText. Has anyone else encountered this? Is this a limitation of

Re: empty preferredText

2021-12-07 Thread Peter Abramowitsch
Hi Tim, Yes, I've definitely encountered it. It happens when the concept has a CUI_TERM which has matched the text, but there is no corresponding entry in the SNOMED or other vocab table mapping CUI to SNOMED. The obvious choice is to use the covered text as a surrogate, but technically it coul

Re: empty preferredText [EXTERNAL]

2021-12-07 Thread Miller, Timothy
OK, I thought this might be what's happening. I did check my 2021 UMLS release and the cui does seem to have a preferred text but I think my container is using an older release. For what it's worth the CUI is: C0360554 and a sentence that reproduces the issue in CVD with the current release is:

Re: empty preferredText [EXTERNAL]

2021-12-07 Thread Peter Abramowitsch
I think the issue is that preferred text in the dictionary is only populated by matches from the "dest" vocabularies and it uses *their* preferred text. If there's no match in any of them, then it should put the CUI's own preferred text entry in the dictionary, but it doesn't. I'm pretty sure It'

Re: empty preferredText [EXTERNAL]

2021-12-07 Thread Finan, Sean
I think that you are both correct. One or more preferred texts for a concept should be available if the user created a local copy of the umls that contains one a vocabulary that contains a preferred text. This is the first step in the process of creating a ctakes dictionary and takes place bef

Re: empty preferredText [EXTERNAL]

2021-12-07 Thread Peter Abramowitsch
"but I might revisit it on a snowy afternoon this winter. " >> let's hope for lots of those and good holidays for all. Peter On Tue, Dec 7, 2021 at 7:05 PM Finan, Sean wrote: > I think that you are both correct. > > One or more preferred texts for a concept should be available if the user > c

Re: empty preferredText [EXTERNAL]

2021-12-07 Thread Finan, Sean
Hear, hear! From: Peter Abramowitsch Sent: Tuesday, December 7, 2021 1:17 PM To: dev@ctakes.apache.org Subject: Re: empty preferredText [EXTERNAL] * External Email - Caution * "but I might revisit it on a snowy afternoon this winter. " >> let's hope fo