}
@Override
protected void onInit() {
SimplePE prototype = createPE(SimplePE.class);
Stream<StringEvent> stream = createStream("stream", new SentenceKeyFinder(), prototype);
try {
socketAdapter = new SocketAdapter<StringEvent>(stream, new SocketAdapter.SentenceEventFactory());
} catch (IOException e) {
throw new RuntimeException(e);
}