Spark-based machine learning for word meanings