Commit 7d8eb0b0 authored by Ioannis Tsafaras's avatar Ioannis Tsafaras
Browse files

LAM-20 Display hashtag in front of words

parent 692567ab
......@@ -90,7 +90,7 @@ public class Hashtag_WordCount {
Matcher m = Pattern.compile("#(\\w+)")
.matcher(value.toLowerCase());
while (m.find()) {
hashtags.add(m.group(1));
hashtags.add(m.group(0));
}
String[] tokens = hashtags.toArray(new String[hashtags.size()]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment