try {
filename = this.getClass().getClassLoader().getResource("org/apache/ctakes/core/tokenizer/hyphenated.txt").toURI().getRawPath();
} catch (URISyntaxException e) {
e.printStackTrace();
}
HyphenTextModifierImpl tm = new HyphenTextModifierImpl(filename, 7);
ArrayList<String> messages;
String t = "Non Hodgkin's the x ray without any non small cell complications.";
messages = HyphenTextModifierImpl.test(tm, t); // extra blanks
t = t.replace(" ", " ");
// change text to only have single blanks between words