Use Spark and RDD,from a text file how do I get the 20 least common lowercased words (don’t count stopwords) Use Spark and RDD from a

Use Spark and RDD,from a text file how do I get the 20 least common “lowercased” words (don’t count stopwords)
Use Spark and RDD from a text file how do I get, only counts the words that start with a Uppercase letter and print out the top 10 of those words.
Use Spark and RDD from a text file, how do I get the 20 most common “lowercased” words (don’t count stopwords)