You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/04/22 06:17:56 UTC
[10/13] incubator-joshua git commit: bugfix: initialize
annotationString
bugfix: initialize annotationString
Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/4ec7ddb1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/4ec7ddb1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/4ec7ddb1
Branch: refs/heads/morph
Commit: 4ec7ddb1084d92a2b93ac81c7901dbe7251d5d02
Parents: f0728fa
Author: Matt Post <po...@cs.jhu.edu>
Authored: Fri Apr 22 00:12:09 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Fri Apr 22 00:12:09 2016 -0400
----------------------------------------------------------------------
src/joshua/decoder/segment_file/Token.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4ec7ddb1/src/joshua/decoder/segment_file/Token.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/segment_file/Token.java b/src/joshua/decoder/segment_file/Token.java
index 7969294..9dcec22 100644
--- a/src/joshua/decoder/segment_file/Token.java
+++ b/src/joshua/decoder/segment_file/Token.java
@@ -62,6 +62,7 @@ public class Token {
public Token(String rawWord) {
annotations = new HashMap<String,String>();
+ annotationString = "";
// Matches a word with an annotation
// Check guidelines in constructor description