Re: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI) [EXTERNAL]

2020-04-01 Thread Ryan Young
his out. > > Sean > > > From: Ryan Young > Sent: Tuesday, March 31, 2020 10:13 PM > To: dev@ctakes.apache.org > Subject: Re: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code > (CUI) [EXTERNAL] > > * External Em

Re: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI) [EXTERNAL]

2020-04-01 Thread Finan, Sean
w for you in a little bit and maybe we can figure this out. Sean From: Ryan Young Sent: Tuesday, March 31, 2020 10:13 PM To: dev@ctakes.apache.org Subject: Re: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI) [EXTERNAL] * External

Re: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI) [EXTERNAL]

2020-03-31 Thread Ryan Young
>writer.write( "\n" ); > } else { > > >> writer.write( cui + "\n" ); > >>} > >> } > >> } > >> } > >>} > >> } > > > So, after >

Re: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI) [EXTERNAL]

2020-03-31 Thread Finan, Sean
maven package step 3. Unzipping your ctakes installation You should be able to 1. Run ctakes from command line like you did before 2. Use the custom piper file 3. Resolve the firstly-discovered procedure for a snippet on each line 4. Write file(s) with corresponding line-by-line cuis or empt

Re: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI) [EXTERNAL]

2020-03-30 Thread Ryan Young
arator.comparingInt( >> ProcedureMention::getBegin ) ) >> .orElse( null ); >> if ( firstProcedure != null ) { >>String cui >> = OntologyConceptUtil.getCuis( firstProcedure ) >>

Re: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI) [EXTERNAL]

2020-03-23 Thread Ryan Young
; .findFirst() > .orElse( "" ); >if ( !cui.isEmpty() ) { > writer.write( cui + "\n" ); > } > } > } > } >} > } > > __

Re: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI) [EXTERNAL]

2020-03-23 Thread Finan, Sean
if ( !cui.isEmpty() ) { writer.write( cui + "\n" ); } } } } } } From: Ryan Young Sent: Monday, March 23, 2020 11:02 AM To: dev@ctakes.apache.org Subject: Configure Fast Lookup Dictionary To Retu

Re: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI) [EXTERNAL]

2020-03-23 Thread Finan, Sean
cribble up something more and send it in a minute ... Sean From: Ryan Young Sent: Monday, March 23, 2020 11:02 AM To: dev@ctakes.apache.org Subject: Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI) [EXTERNAL] * External Email - Caution * He

Configure Fast Lookup Dictionary To Return Only 1 UMLS Code (CUI)

2020-03-23 Thread Ryan Young
Hello, I am a medical student who happened to come across cTAKES for a project I am working on. What I would like to do is take a list of surgeries in a text file and have cTAKES output what it determines to be the best UMLS code (CUI) for that particular line. Each line of the text file is indep