"word1=" + word1.getId() + " AND word2=" + word2.getId() + " AND word3="
+ word3.getId() + " LIMIT 1;");
if(!resultSet.next())
throw new ItemNotFoundException("Could not find trigram.");
return new CoOccurrenceData(0, resultSet.getLong("count_web"), 0, 0);
} catch (SQLException e) {
//Could not retrieve trigram information
e.printStackTrace();
}
throw new ItemNotFoundException("Could not find trigram.");
}