diff options
author | 2011-12-26 20:35:27 -0800 | |
---|---|---|
committer | 2011-12-26 20:35:27 -0800 | |
commit | 37f7d3c2973d794f198068e72c018c123008ff6c (patch) | |
tree | e3b9561bb5aebf363150c9aa4c2bece2f7a4f933 /native/src | |
parent | edd1018bae1cef83cfb008e9838d2c289c5306d0 (diff) | |
parent | 8b6f788e18844b281b80256c91c35573fcd97946 (diff) | |
download | latinime-37f7d3c2973d794f198068e72c018c123008ff6c.tar.gz latinime-37f7d3c2973d794f198068e72c018c123008ff6c.tar.xz latinime-37f7d3c2973d794f198068e72c018c123008ff6c.zip |
am 8b6f788e: Merge "Add a forgotten constant"
* commit '8b6f788e18844b281b80256c91c35573fcd97946':
Add a forgotten constant
Diffstat (limited to 'native/src')
-rw-r--r-- | native/src/unigram_dictionary.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/native/src/unigram_dictionary.h b/native/src/unigram_dictionary.h index 54f0054c1..afe92e5b9 100644 --- a/native/src/unigram_dictionary.h +++ b/native/src/unigram_dictionary.h @@ -44,8 +44,14 @@ public: // Flag for terminal groups static const int FLAG_IS_TERMINAL = 0x10; + // Flag for shortcut targets presence + static const int FLAG_HAS_SHORTCUT_TARGETS = 0x08; // Flag for bigram presence static const int FLAG_HAS_BIGRAMS = 0x04; + // Flag for shortcut-only words. Some words are shortcut-only, which means they match when + // the user types them but they don't pop in the suggestion strip, only the words they are + // shortcuts for do. + static const int FLAG_IS_SHORTCUT_ONLY = 0x02; // Attribute (bigram/shortcut) related flags: // Flag for presence of more attributes |