commit | 7d475003572c9c2902f5918bad524f4ac233e629 | [log] [tgz] |
---|---|---|
author | Keisuke Kuroyanagi <ksk@google.com> | Tue Aug 26 14:33:19 2014 +0900 |
committer | Keisuke Kuroyanagi <ksk@google.com> | Tue Aug 26 14:33:19 2014 +0900 |
tree | 86d4d908aa19792fbb8f209efa33f44c2c351b6b | |
parent | 4793e91317f8fe00627405d87f007acb92c39d54 [diff] [blame] |
Use word id to construct DicNode instead of isTerminal flag. Bug: 14425059 Change-Id: I8484d34756bd76668ece34211e7366a4758d7bf5
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h index 24d04e5..57e1888 100644 --- a/native/jni/src/defines.h +++ b/native/jni/src/defines.h
@@ -299,6 +299,7 @@ #define NOT_AN_INDEX (-1) #define NOT_A_PROBABILITY (-1) #define NOT_A_DICT_POS (S_INT_MIN) +#define NOT_A_WORD_ID (S_INT_MIN) #define NOT_A_TIMESTAMP (-1) #define NOT_A_LANGUAGE_WEIGHT (-1.0f)