public static void main(String[] args) {
String str = "The first stream to read the article in English, " +
"and then to the non-alphanumeric delimiter to split each word, " +
"comparing a single character to determine whether different words, " +
"will read out the word into a special string, use regular expressionsSearch this " +
"special string to determine whether stored in different, " +
"another set of different words the number of counter";
HashMap<String,Integer> map = new HashMap<String,Integer>();
String reg = "\\b(\\w)+\\b";
Pattern p = Pattern.compile(reg);
Matcher m = p.matcher(str);