diff options
author | jdschroeder <jdschroeder@1f5c12ca-751b-0410-a591-d2e778427230> | 2008-05-16 18:49:14 +0400 |
---|---|---|
committer | jdschroeder <jdschroeder@1f5c12ca-751b-0410-a591-d2e778427230> | 2008-05-16 18:49:14 +0400 |
commit | cbe03012289989b6cec44c6b5479721ecc7ff45b (patch) | |
tree | e621e9cd80b160a1268cb08d85732b90dae72c6a /hypergraph-prototype | |
parent | 97c2a8fdf48637fffcbca00a504c2d8ae147353f (diff) |
PBCandidateGenerator bug fix
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1742 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'hypergraph-prototype')
-rw-r--r-- | hypergraph-prototype/attempt1/org/statmt/hg4/PBCandidateGenerator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hypergraph-prototype/attempt1/org/statmt/hg4/PBCandidateGenerator.java b/hypergraph-prototype/attempt1/org/statmt/hg4/PBCandidateGenerator.java index 9bc43fe6b..8d05ddf97 100644 --- a/hypergraph-prototype/attempt1/org/statmt/hg4/PBCandidateGenerator.java +++ b/hypergraph-prototype/attempt1/org/statmt/hg4/PBCandidateGenerator.java @@ -7,7 +7,6 @@ import java.util.HashMap; public class PBCandidateGenerator extends PassiveCandidateGenerator { - ArrayList<ArrayList<Vertex>> lattice; /** @@ -46,6 +45,7 @@ public class PBCandidateGenerator extends PassiveCandidateGenerator { passive.addArc(phraseRule); } latticeSpanStart.add(passive); + derivation.addNode(passive); } lattice.add(latticeSpanStart); } |