Installation and Preparation Scripts for setting up OHNLP Toolkit configured for an example PASC/RECOVER NLP task
- Java 9+ (11 recommended)
- Unix-Based System
unzip
must be installed (e.g. viaapt-get install zip unzip
)
- Clone this repository via
git clone https://www.github.com/OHNLP/OHNLPTK_SETUP.git
into an empty directory - Execute
./install_or_update_ohnlptk.sh
- Once installation is complete, navigate to the created
OHNLPTK_SETUP
directory - Edit
configs/[run_nlp]_[ohdsi_cdm]_[ohdsi_cdm].json
lines 5-17 and lines 36-56 to reflect your data warehouse settings
For a Local Run: Run run_pipeline_local.sh
. You will be prompted for the configuration to use. Alternatively, run run_pipeline_local.sh your_config_name.json
for non-interactive execution
For other environments: Executed package_modules_and_configs.sh
and edit the run_pipeline_###
appropriate to your environment and replace declared variables as appropriate.