Thanks Tim! ________________________________________ From: Miller, Timothy <[email protected]> Sent: Thursday, December 20, 2018 3:24 PM To: [email protected] Subject: ctakes-web-rest changes [EXTERNAL] [SUSPICIOUS]
Hello all, I've been trying out the ctakes-web-rest module for a project that uses python where I wanted an easy way to send a sentence and get back some CUI annotations. There was an issue where the returned json map was keyed by the string of the concept, so it would only return one discovered concept if more than one had the same string. In the course of fixing that I noticed the code was writing the CAS to xmi, then manually parsing that file, rather than just interrogating the JCas object, so I rewrote that as well to use uimafit. Finally, I commented out the "full" pipeline -- it is just too resource heavy to try to run 2 independent pipelines in parallel on the same machine. I think the state of the module right now is suitable for people who want to try and would make their own changes if they want different pipelines (i.e., it's not yet shrink-wrapped) so I would prefer it in a state with a simple pipeline that runs well. Please take a look at the following issue with the attached patch and let me know if there are any obvious problems. https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org_jira_browse_CTAKES-2D529&d=DwIGaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=wApYDEuA9QXhsjLjHA7e1bGrUyG9gIJG25pk_HzUFB0&s=eZ4qVt8rfevBpiqrRschF_cbfAKT5jhuNqQDD0EUx2w&e= Overall, it's in nice shape and I'm excited to get it into a usable shape, I think this is a use case that would satisfy a lot of users. Tim
