summaryrefslogtreecommitdiff
path: root/gi/posterior-regularisation/prjava/src/data
diff options
context:
space:
mode:
Diffstat (limited to 'gi/posterior-regularisation/prjava/src/data')
-rw-r--r--gi/posterior-regularisation/prjava/src/data/Corpus.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/gi/posterior-regularisation/prjava/src/data/Corpus.java b/gi/posterior-regularisation/prjava/src/data/Corpus.java
index f0da0b33..425ede11 100644
--- a/gi/posterior-regularisation/prjava/src/data/Corpus.java
+++ b/gi/posterior-regularisation/prjava/src/data/Corpus.java
@@ -186,6 +186,9 @@ public class Corpus {
tagData.get(i)[j]=tagIdx(s[j]);
}
}
+ sent=null;
+ tag=null;
+ System.gc();
}
public int [] getInt(int idx){