Skip to content

christianwimmer/polyglot-native-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment Analysis of Tweets in Polyglot Native

This demo shows how we can use JVM libraries in a native project. This example uses Klaxon (Kotlin) to parse tweets, Open NLP (Java) to do sentiment analysis of tweets, and Scala collections to correlate tweets with time series. The tweets in the example are the tweets that contain a word "Ethereum" and the time series is the price of cryptocurrency Ether on the market.

To compile the demo make sure you have Scala, Kotlin, and GraalVM installed and $SCALA_HOME, $KOTLIN_HOME, and $GRAALVM_HOME set. Then simply invoke

./polyglot-compile.sh

About

Polyglot Native Demo: Sentiment Analysis of Tweets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.0%
  • Java 7.2%
  • Scala 4.3%
  • Shell 3.3%
  • Kotlin 2.5%
  • C 1.7%