This project provides some examples of how to interface with the CLULab Reach system in both Scala and Java.
Please see the Reach GitHub for information on Reach itself.
Run any of the examples with sbt run
or sbt run-main
:
> sbt 'run-main com.yourorg.TextInJsonOutJava'
Because Reach loads and uses several large NLP data models, we recommend that you allocate a sufficient amount of working memory for the process. We have observed no issues running with at least 5 gigabytes of heap:
JAVA_OPTS=-server -Xms3g -Xmx6g