A Tokenizer in Spark and Scala