Next Word Predictor (Apache Spark)