diff options
Diffstat (limited to 'gi/posterior-regularisation/prjava/src/phrase/Agree2Sides.java')
-rw-r--r-- | gi/posterior-regularisation/prjava/src/phrase/Agree2Sides.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/posterior-regularisation/prjava/src/phrase/Agree2Sides.java b/gi/posterior-regularisation/prjava/src/phrase/Agree2Sides.java index 7bc28a40..8bf0b93e 100644 --- a/gi/posterior-regularisation/prjava/src/phrase/Agree2Sides.java +++ b/gi/posterior-regularisation/prjava/src/phrase/Agree2Sides.java @@ -106,7 +106,7 @@ public class Agree2Sides { assert z > 0;
bdist += edge1.getCount() * Math.log(z);
arr.F.l1normalize(p);
- int count = edge1.getCount();
+ double count = edge1.getCount();
//increment expected count
TIntArrayList contextToks1 = edge1.getContext();
TIntArrayList contextToks2 = edge2.getContext();
|