private static PunctuationSeparator punctuationSeparator = new PunctuationSeparator();
@Override
public EventSet createEventSet(char[] text) {
FastTag tagger = new FastTag();
EventSet es = new EventSet();
text = punctuationSeparator.process(text);
String stringText = new String(text);
for (String current : stringText.split("(?<=[?!\\.])\\s+")) {
String[] tmpArray = current.split("\\s");
List<String> tmp = Arrays.asList(tmpArray);
List<String> tagged = tagger.tag(tmp);
for (int j = 0; j < tagged.size(); j++) {
es.addEvent(new Event(tagged.get(j), this));
}
}