private static final String FILE = "/lt/performance-test/en.txt";
protected void testPerformance(LanguageModel model, int ngramLength) throws Exception {
try (FileInputStream fis = new FileInputStream(FILE)) {
String content = StringTools.readStream(fis, "UTF-8");
WordTokenizer wordTokenizer = new WordTokenizer();
List<String> words = wordTokenizer.tokenize(content);
String prevPrevWord = null;
String prevWord = null;
int i = 0;
long totalMicros = 0;
for (String word : words) {