algo.close();
}
private static void accuracy(String languageTag, Corpus corpus, NEDAlgo_HITS algo, int maxDepth, double threshholdTrigram, BufferedWriter bw) {
double t = 0, n = 0;
int documentId = 0;
<BUG>for (Document document : corpus) {
try {</BUG>
System.gc();
log.info("Text: " + documentId);
if (0 < document.getProperty(DocumentText.class).getText().length()) {

algo.close();
}
private static void accuracy(String languageTag, Corpus corpus, NEDAlgo_HITS algo, int maxDepth, double threshholdTrigram, BufferedWriter bw) {
double t = 0, n = 0;
int documentId = 0;
for (Document document : corpus) {
System.gc();
try {
System.gc();
log.info("Text: " + documentId);
if (0 < document.getProperty(DocumentText.class).getText().length()) {
