diff --git a/build_requirements.md b/build_requirements.md index db6532203..602190b95 100644 --- a/build_requirements.md +++ b/build_requirements.md @@ -129,4 +129,16 @@ echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolv.conf # Buildparameter: # -P\\ - CAVIS_AVX_EXTENSION = {avx2 | avx512}, default is avx2 \ No newline at end of file + CAVIS_AVX_EXTENSION = {avx2 | avx512}, default is avx2 + +# Zeppelin Spark dependencies # +3 + + +To add the dependency to the language models, use the following format in the Dependencies section of the of the Spark Interpreter configuration (Interpreters -> Spark -> Edit -> Dependencies): + +groupId:artifactId:packaging:classifier:version + +In your case it should work with + +edu.stanford.nlp:stanford-corenlp:jar:models:3.8.0 \ No newline at end of file diff --git a/cavis-full/build.gradle b/cavis-full/build.gradle index 68e847fdf..659e119e2 100644 --- a/cavis-full/build.gradle +++ b/cavis-full/build.gradle @@ -16,7 +16,8 @@ dependencies { api "com.fasterxml.jackson.datatype:jackson-datatype-joda:2.10.5" api 'org.slf4j:slf4j-simple:2.0.3' api 'org.slf4j:slf4j-api:2.0.3' - //api group: "org.bytedeco", name: "javacpp", classifier: "linux-x64_86" + api group: "org.bytedeco", name: "javacpp", classifier: "linux-x64_86" + api group: 'net.brutex.cavis-native', name: 'cavis-native-lib', version: '1.0.0-SNAPSHOT', classifier: "linux-x86_64-avx2-cpu" rootProject.getAllprojects().each { Project sproj -> if(!sproj.name.equals(name) && !sproj.name.equals("cavis-common-platform") diff --git a/cavis-native/cavis-native-lib/build.gradle b/cavis-native/cavis-native-lib/build.gradle index 84217af15..10648759d 100644 --- a/cavis-native/cavis-native-lib/build.gradle +++ b/cavis-native/cavis-native-lib/build.gradle @@ -117,7 +117,8 @@ dependencies { api platform(project(':cavis-common-platform')) - api "org.bytedeco:javacpp" + implementation "org.bytedeco:javacpp" + implementation group: "org.bytedeco", name: "javacpp", classifier: "${javacppPlatform}" if(withCuda()) { cudaSupportImplementation platform(project(':cavis-common-platform'))