Hi Tom, Tiny Rest is not really a standalone deal, but utilization is pretty simple once you know what it is for.
What you can try is: Create the jar for ctakes-dockhand using "mvn package". You can put that jar file anywhere, even a system that doesn't have ctakes. Run that jar in a graphical environment (ms windows, gnome, etc.). Double-click should start it. ctakes-dockhand is an installation tool that looks pretty much like any "wizard" style installer. Make selections on each screen, click next, etc. Your selection on the first panel should be "docker rest" - or "rest docker" or something like that. I can't remember. Then give it some description, create the pipeline that you want, etc. After you finish the last panel and click "Finish" a small number of files will be created in your chosen directory. *Note, the tool will not exit by iteself. If you are familiar with docker, you can use the Dockerfile that is in that directory to create an image of a ctakes rest service. The docker image contains everything you need and when you run it will start a rest service. I haven't tried it, but you should also be able to just maven package using the pom in that same output directory without docker. It will create a war file. If you go without docker then you will need to have a web server (tomcat, etc.) and move the war file into the webapps directory or whatever is required for that server. There is a little demo page that you can launch on a browser. Just http to the ip address (of a VM, docker VM, localhost) with the port 8080 and ctakes_tiny_rest. For instance: http://192.168.99.101:8080/ctakes_tiny_rest You can curl or use some other rest client, but you should probably use the demo page just to see what it can do. To get different output formats you can send with "fhir", "umls", "cui", or "xmi". "pretty" and "property" are works in progress. The default is fhir json. Sean ________________________________________ From: Thomas W Loehfelm <twloehf...@ucdavis.edu.INVALID> Sent: Friday, June 26, 2020 5:04 PM To: dev@ctakes.apache.org Subject: ctakes-tiny-rest - any guidance on running? [EXTERNAL] * External Email - Caution * I was very excited to find the ctakes-tiny-rest package in the svn repo, but have not been able to get it stood up. What I have tried: 1. Cloning the svn repo 2. mvn package 3. java -cp target/ctakes-tiny-rest-4.0.1-SNAPSHOT.jar org.apache.ctakes.rest.service.TinyController * Error: Unable to initialize main class org.apache.ctakes.rest.service.TinyController Caused by: java.lang.NoClassDefFoundError: org/apache/uima/resource/ResourceInitializationException I am not very familiar with mvn or with the Spring framework so I suspect I am missing something fundamental. Is anyone making use of this component and can point me in the right direction? Thanks for your time and consideration! Tom Thomas Loehfelm, MD UC Davis Medical Center Abdominal Radiology