Skip to content

maziyarpanahi/spark-nlp-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spark-nlp-starter

Scala CI

This is just a simple demo as how to use Spark NLP in a SBT project in Scala. Usually, once you have your application you want to package it and run it via spark-submit.

spark-submit

After your executed sbt assembly to get a Fat JAR (without Apache Spark since your environment has Apache Spark already), you can use spark-submit like this:

sbt assembly
~/spark-3.1.1-bin-hadoop3.2/bin/spark-submit \
--class "Main" \
target/scala-2.12/spark-nlp-starter-assembly-1.1.jar

This will execute the code in Main class and finish successfully.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages