-
Notifications
You must be signed in to change notification settings - Fork 0
ctakes web rest
The ctakes-web-rest module builds a standalone product, Apache cTaKES Web REST.
ctakes-web-rest is not compiled or built when the main Apache cTAKES code is built with maven.
ctakes-web-rest is not contained within the main Apache cTAKES binary distributable zipped files.
You must build the Apache cTAKES Web REST product alone.
Doing so will create its own self-contained Web Application Resource (aka Web ARchive) (WAR) file.
The WAR file contains a large segment of the main Apache cTAKES binary distributable.
If you are running maven by the command line then you must run in the ctakes-web-rest directory or direct maven to the ctakes-web-rest pom.
If you are running maven in an IDE, then you must add ctakes-web-rest as its own maven project and execute maven commands on that project.
Building the main ctakes project will not build ctakes-web-rest.
This configuration exists because:
- building ctakes-web-rest with the main ctakes maven project adds to the build time.
- building ctakes-web-rest with the main ctakes maven project adds to the disk footprint of the build. i.e. it has its own huge target/ directory.
- including ctakes-web-rest in the main Apache cTAKES binary distributable essentially puts two copies of cTAKES in the distributable.
- building ctakes-web-rest with the main ctakes maven project will NOT put any changed code or resources in the war. Unless you mvn install. Making ctakes-web-rest a separate build reinforces the separation.
This module performs natural language processing of input payload using REST API endpoint and extracts out clicnical information in JSON format.
Installation
- Build this ctakes-web-rest module.
- Modify
src\main\resources\org\apache\ctakes\dictionary\lookup\fast\customDictionary.xml
to refer to the respective database where dictionary is loaded or use UMLS database. - Build ctakes-web-rest module and deploy
ctakes-web-rest.war
available undertarget/
folder in Apache Tomcat. - Access the following URL to perform text analysis using cTAKES web application:
http://<host-name>:<port>/ctakes-web-rest/index.jsp
- Access the following REST API endpoint to perform text analysis using default pipeline:
http://<host-name>:<port>/ctakes-web-rest/service/analyze?pipeline=Default
- Access the following REST API endpoint to perform text analysis using full pipeline:
http://<host-name>:<port>/ctakes-web-rest/service/analyze?pipeline=Full
- Piper File Submitter
- UMLS Package Fetcher
- Dictionary Creator
- Simple Pipeline Fabricator
- Pipeline Installation Facility
- ctakes-pbj module
- Getting started with PBJ
- Python pbj-component
- Python pbj-pipeline
- Python pbj-scripts
- Python pbj-tools
- pbj-user-pipeline
- examples
- ctakes-assertion
- ctakes-assertion-zoner
- ctakes-chunker
- ctakes-clinical-pipeline
- ctakes-constituency-parser
- ctakes-context-tokenizer
- ctakes-core
- ctakes-coreference
- ctakes-dependency-parser
- ctakes-dictionary-lookup
- ctakes-dictionary-lookup-fast
- ctakes-distribution
- ctakes-dockhand
- ctakes-drug-ner
- ctakes-examples
- ctakes-fhir
- ctakes-gui
- ctakes-lvg
- ctakes-mastif-zoner
- ctakes-ne-contexts
- ctakes-pbj
- ctakes-pos-tagger
- ctakes-preprocessor
- ctakes-regression-test
- ctakes-relation-extractor
- ctakes-side-effect
- ctakes-smoking-status
- ctakes-template-filler
- ctakes-temporal
- ctakes-tiny-rest
- ctakes-type-system
- ctakes-utils
- ctakes-web-rest
- ctakes-ytex
- ctakes-ytex-uima
- ctakes-ytex-web