diff options
Diffstat (limited to 'gi/posterior-regularisation/prjava/src/phrase/C2F.java')
-rw-r--r-- | gi/posterior-regularisation/prjava/src/phrase/C2F.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/posterior-regularisation/prjava/src/phrase/C2F.java b/gi/posterior-regularisation/prjava/src/phrase/C2F.java index 31fd4fda..e8783950 100644 --- a/gi/posterior-regularisation/prjava/src/phrase/C2F.java +++ b/gi/posterior-regularisation/prjava/src/phrase/C2F.java @@ -118,7 +118,7 @@ public class C2F { loglikelihood += edge.getCount() * Math.log(z);
arr.F.l1normalize(p);
- int count = edge.getCount();
+ double count = edge.getCount();
//increment expected count
TIntArrayList phrase= edge.getPhrase();
for(int tag=0;tag<K;tag++){
|