• Home
  • History
  • Annotate
  • only in /packages/inputmethods/LatinIME/native/jni/src/suggest/core/
History log of /packages/inputmethods/LatinIME/native/jni/src/suggest/core/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
88bc312ad34321fb3e81be2dc939a889d065f4a7 17-Dec-2014 Keisuke Kuroyanagi <ksk@google.com> Move dictionary code to top level dictionary dir.

Bug: 18725954
Change-Id: Ia442ba4b5d84311057d83edf6e7aeb151d6a820b
icnode/dic_node_utils.cpp
ictionary/binary_dictionary_bigrams_iterator.h
ictionary/binary_dictionary_shortcut_iterator.h
ictionary/bloom_filter.h
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/dictionary_utils.cpp
ictionary/digraph_utils.cpp
ictionary/multi_bigram_map.cpp
ictionary/multi_bigram_map.h
ictionary/ngram_listener.h
ictionary/property/historical_info.h
ictionary/property/ngram_property.h
ictionary/property/unigram_property.h
ictionary/property/word_property.h
ictionary/word_attributes.h
olicy/dictionary_bigrams_structure_policy.h
olicy/dictionary_header_structure_policy.h
olicy/dictionary_shortcuts_structure_policy.h
olicy/dictionary_structure_with_buffer_policy.h
esult/suggestions_output_utils.cpp
esult/suggestions_output_utils.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
ession/ngram_context.cpp
ession/ngram_context.h
uggest.cpp
ad546afbaa1eea4b291ed021f86fab7652b5d205 15-Dec-2014 Keisuke Kuroyanagi <ksk@google.com> Remove dependency on jni.h from WordProperty.

Bug: 18725954
Change-Id: Ic97d3a56b036ff042322c9f794504064046fd7d7
ictionary/property/word_property.cpp
ictionary/property/word_property.h
515c5081352a6b8feaaf570df7ddb6d3676006e7 09-Dec-2014 Keisuke Kuroyanagi <ksk@google.com> Quit auto-correct explicit accented letters to base letters.

Bug: 7677193
Change-Id: I66eddbf27a9db8682c0347a1be19922792a3bea7
ictionary/dictionary.h
ictionary/error_type_utils.cpp
ictionary/error_type_utils.h
esult/suggestions_output_utils.cpp
b23f03488f165565e46f8d1b742ee6629f9c0f52 10-Nov-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Use reference instead of pointer for WordProperty()."
7d5420aa5ec485ce9cb3a466e50e421d46546ef7 30-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Make profiler use getTimeInMicroSec().

Bug: 17797064
Change-Id: Ie992c9454edfc3bf93d5ea367c3a4427b513a205
uggest.cpp
bbf0d4141bf4c5ee1026a8dfe45d46a416ad35b1 10-Nov-2014 Keisuke Kuroyanagi <ksk@google.com> Use reference instead of pointer for WordProperty().

Change-Id: Idf03e97661d64186c752e35964d641a5528be5b1
ictionary/property/word_property.h
a88c9682fc97863d27b46932adc1218990e70bd7 31-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Change v403 historical info format."
2383575d2d695efcca093e69ed2daa88aec58862 30-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Change v403 historical info format.

count -> 2B, level -> 0B.

Change-Id: I3b241126f56eb33cdf09cb1ebfed04f534e4ec48
ictionary/property/historical_info.h
009e02ce4a132b0f94d130c36761e18935577af1 29-Oct-2014 Adrian Velicu <adrianv@google.com> Further fixes to treat 0-frequency words

Previously, when both legitimate 0-frequency words (such as
distracters) and offensive words were encoded in the same
way, distracters would never show up when the user blocked
offensive words (the default setting, as well as the setting
for regression tests).

When b/11031090 was fixed and a separate encoding was used
for offensive words, 0-frequency words would no longer be
blocked when they were an "exact match" (where case
mismatches and accent mismatches would be considered an
"exact match"). The exact match boosting functionality meant
that, for example, when the user typed "mt" they would be
suggested the word "Mt", although they most probably meant
to type "my".

For this reason, we introduced this change, which does the
following:
* Defines the "perfect match" as a really exact match, with
no room for case or accent mismatches
* When the target word has probability zero (as "Mt" does,
because it is a distracter), ONLY boost its score if it is a
perfect match.

By doing this, when the user types "mt", the word "Mt" will
NOT be boosted, and they will get "my". However, if the user
makes an explicit effort to type "Mt", we do boost the word
"Mt" so that the user's input is not autocorrected to "My".

Bug: 11031090
Change-Id: I92ee1b4e742645d52e2f7f8c4390920481e8fff0
ictionary/error_type_utils.cpp
ictionary/error_type_utils.h
olicy/scoring.h
esult/suggestions_output_utils.cpp
10416241f7badaedfbafd9858deda9dca496bd08 21-Oct-2014 Adrian Velicu <adrianv@google.com> Block offensive words in multi-word suggestions

If the user has chosen to block offensive words and types
"aaaxbb", where "aaa" is an offensive word and "bb" is not,
we should not suggest "aaa bb".

Bug: 11031090
Change-Id: Ie23b8dd5d347bc26b1c046c3f5e8dfbc259bf528
esult/suggestions_output_utils.cpp
esult/suggestions_output_utils.h
uggest.cpp
bcb52d73e206cee86a2ea126a5c3f948103057c6 30-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Enable count based dynamic ngram language model for v403.

Bug: 14425059

Change-Id: Icc15e14cfd77d37cd75f75318fd0fa36f9ca7a5b
ictionary/dictionary.cpp
ictionary/ngram_listener.h
8a809f3433c3b96a3a9002a5bdc166f8c689eeb0 28-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Improve space substitution error correction.

Bug: 17432052

[Category diff]
+1 262
-1 93
+2 2
-2 18
+3 18
-3 2
+4 111
-4 148
+5 295
-5 217
+6 51
-6 276
+7 139
-7 124

[Weighted category diff]
+1 276
-1 100
+2 4
-2 20
+3 20
-3 4
+4 118
-4 160
+5 309
-5 225
+6 52
-6 298
+7 163
-7 135

show diff for ./en_user_log_phones_2011_08.csv
+1 173
-1 28
+2 2
-2 17
+3 17
-3 2
+4 63
-4 82
+5 120
-5 51
+6 24
-6 220
+7 88
-7 87

Change-Id: I9d673acb0ff632828ae2e0ead56e76e3a20411c6
olicy/weighting.cpp
olicy/weighting.h
uggest.cpp
090c3819d7d4481ebb16a220225e2106f2f1b2a2 23-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Fix: Personalized dicts suggest invalid words with v403.

Bug: 14425059
Change-Id: I45ae00069dd3b7c461dd9a1f3558b96af0a1c975
icnode/dic_node_utils.cpp
b5ef884fbb6bfd08ce793604cdf7f0941e958a84 22-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Support dumping ngram entries.

Bug: 14425059
Change-Id: Ib03a0c3d166ed6f1e60c67127b28006d55143b6b
ictionary/property/word_property.cpp
ictionary/property/word_property.h
dfc82fa3662e3e7a157f20db974b3cef402a9dd0 21-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Merge changes I210acb81,Ie9508788

* changes:
Make NgramProperty have NgramContext.
Create .cpp file for NgramContext.
88bb28c132d87f15a52e9a0b8a45950f39eb19ad 21-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Make NgramProperty have NgramContext.

Bug: 14425059
Change-Id: I210acb816b122857dbbe1ee4dd6a35c5335bf2bf
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/property/ngram_property.h
ictionary/property/word_property.h
olicy/dictionary_structure_with_buffer_policy.h
f87bb77a9183d126847d5925c2b03bec45fabd6d 21-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Create .cpp file for NgramContext.

Bug: 14425059

Change-Id: Ie950878817b9c80cc9c970e1a84880c9b9ab228a
ession/ngram_context.cpp
ession/ngram_context.h
05172bf1a5693c2e108e91436b98ecd35d2dadad 13-Oct-2014 Adrian Velicu <adrianv@google.com> Renaming "blacklist" flag to "possibly offensive"

No behaviour changes.
Unified the overloaded FusionDictionary::add method to always take an
isPossiblyOffensive argument.

Bug: 11031090
Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
ictionary/property/unigram_property.h
ictionary/property/word_property.cpp
ictionary/word_attributes.h
d8ccb9093b8a4a5bd529d63df872a4cfa2abb693 14-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Quit using weightChildNode for ADDITIONAL_PROXIMITY and SUBSTITUTION.

[Category diff]
+1 0
-1 1
+2 0
-2 0
+3 0
-3 0
+4 1
-4 1
+5 8
-5 7
+6 0
-6 1
+7 1
-7 0

[Weighted category diff]
+1 0
-1 1
+2 0
-2 0
+3 0
-3 0
+4 1
-4 1
+5 8
-5 7
+6 0
-6 1
+7 1
-7 0

Bug: 13756409
Change-Id: I6ac3567545676bbefbee3e87dda54bc083c15fb6
olicy/weighting.cpp
uggest.cpp
7d5e1cb2650d74816767c085ad71d04d6e605559 10-Oct-2014 Jean Chalard <jchalard@google.com> [ML23] Introduce a different accuracy/performance tradeoff

Bug: 11230254
Change-Id: Ic09518c818ae7b68942b1c63160dd462e5922cb5
olicy/traversal.h
uggest.cpp
uggest_options.h
620ebde70490473fd3562f70d1f24d7d53b6fb1c 07-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Make members of classes that are used with std::vector const

Change-Id: Id93fb87f5630230fc3f9cd339e12f3b0e2006ea9
ictionary/property/historical_info.h
ictionary/property/ngram_property.h
ictionary/property/unigram_property.h
45783013bf92bb77df01ad842e93310f8a057552 09-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Rename prev_words_info.h to ngram_context.h

Bug: 14425059
Change-Id: I0e906631ecad2361a8198b3f9e3394bb22c5bf83
ictionary/dictionary.cpp
ictionary/dictionary_utils.cpp
ession/dic_traverse_session.cpp
ession/ngram_context.h
ession/prev_words_info.h
72e2383d11cf09735b378dcedd20c9fc43da1f12 07-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Rename PrevWordsInfo to NgramContext.

Bug: 14425059
Change-Id: I30703fc80e9450d4e2dbfec965e7f9f4468f6a11
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/dictionary_utils.cpp
olicy/dictionary_structure_with_buffer_policy.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
ession/prev_words_info.h
ab4437f4681db3fb8327f752df8f08bd0d8cf967 09-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Rename updateCounter to updateEntriesForWordWithNgramContext.

Bug: 14425059
Change-Id: Id9b0dd7e32c711ed4292981517c3febd5fe9e897
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
ession/prev_words_info.h
36c4eaadfb7a9cb833c8cca8afb49b2aec347b1d 06-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Show prediction results in debug build.

Bug: 16547409
Change-Id: If85418583998cd639c794bf5d5cfbbb972c34f72
ictionary/dictionary.cpp
4ef27c035892888df82d9c9f32ac12ed48c8308f 03-Oct-2014 Jean Chalard <jchalard@google.com> [ML13] Fix the locale passing in ProximityInfo

The locale is used to determine additional proximity characters. This
is dependent on the dictionary language, but was passed as a function
of the layout, which is wrong and would have given bad suggestions in
multi-lingual mode.

Ideally, additional proximity characters should be inserted in the
dictionary header, but for now it's a rather simple change to get
it from the dictionary's locale instead of the proximity info locale.

Also, that allows us to remove completely the locale parameter from
proximity info, which is a much needed change.

This change has zero effect on unit tests and on regression tests.

Bug: 11230254
Change-Id: If95157155db7dccd1f00b8ba55ccb3600283f9e4
ayout/additional_proximity_chars.cpp
ayout/additional_proximity_chars.h
ayout/proximity_info.cpp
ayout/proximity_info.h
ayout/proximity_info_state.cpp
ayout/proximity_info_state.h
ayout/proximity_info_utils.h
ession/dic_traverse_session.cpp
29777e3a8a419c7c897637372c908566c6490e90 01-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Implement updateCounter() by using existing entry adding methods.

Bug: 14425059
Change-Id: I0b6cb80e1fb8f738e9c7d9e80fbc0c479546b879
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/property/ngram_property.h
ictionary/property/unigram_property.h
olicy/dictionary_structure_with_buffer_policy.h
ession/prev_words_info.h
287e155e44b4e937f2a62d010805702bc813c43b 01-Oct-2014 Keisuke Kuroyanagi <ksk@google.com> Move HistoricalInfo to property and use it in *Property.

Bug: 14425059
Change-Id: Icccccabad98fb543c6a6be2844cfc0086d80b739
ictionary/property/historical_info.h
ictionary/property/ngram_property.h
ictionary/property/unigram_property.h
ictionary/property/word_property.cpp
79bb37d499ed6fcabe981153d5ff0b5b69509933 29-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Rename BigramProperty to NgramProperty.

Remaining work is changing bigram to ngram for supporting
ngram entry counting, dumping, and migration.

Bug: 14425059
Change-Id: Ifba288a1166996d62a5e57698f63537ea0a2a8ee
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/property/bigram_property.h
ictionary/property/ngram_property.h
ictionary/property/word_property.cpp
ictionary/property/word_property.h
olicy/dictionary_structure_with_buffer_policy.h
2842e50c4b454f44cfb49a59b4ba2c13816a876d 25-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use std::move for dictionary properties.

Change-Id: I15056b36b7493f4bac1dbcbb46a0b44343ede153
ictionary/property/bigram_property.h
ictionary/property/unigram_property.h
ictionary/property/word_property.h
80d139a694f9d216c03ff38d435c06d5ac29d5dc 18-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use CodePointArrayView in WordProperty.

Change-Id: I45a9755c413003831788d190beb499fee8ce63aa
ictionary/property/word_property.h
65a7ccfa003f898064f09c059eb236cf8f82cd89 18-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Refactoring method to get code points and code point count.

Bug: 14425059
Change-Id: I4731bd6076d34556e46e6714180fed324fb6aba3
ictionary/dictionary.cpp
olicy/dictionary_structure_with_buffer_policy.h
7d911d6f91af56586fbca40672bfb77b494ee871 24-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Move word flags to language model dict content.

Bug: 14425059
Change-Id: I64712e5c83d0bc241e6f0f16117ab47b5d75bd4b
ictionary/property/unigram_property.h
6da9b21191dc7d6049d96945366ec7e605e716e6 12-Sep-2014 Jean Chalard <jchalard@google.com> [ML8] Add a language weight

...and rename an improperly named normalization value

Bug: 11230254
Change-Id: I0f5633148a9f66dbfd7d28540b8a8985131c4549
icnode/dic_node.h
icnode/internal/dic_node_state_scoring.h
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/scoring.h
esult/suggestion_results.cpp
esult/suggestion_results.h
esult/suggestions_output_utils.cpp
esult/suggestions_output_utils.h
uggest.cpp
uggest.h
uggest_interface.h
fc7d0540fee2ac09336b562af7a421e96790cb7f 17-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use CodePointArrayView in DictionaryUtils.

Change-Id: I9ae308e60124ea5acb4ee09847c4fdd58ff168e2
ictionary/dictionary.cpp
ictionary/dictionary_utils.cpp
ictionary/dictionary_utils.h
3e75c59133000d16d3b5606f67d4ec60988851d8 17-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use CodePointArrayView in Dictionary.

Change-Id: I63fa0a8348f6de6ec7a424a8033e936b4af72beb
ictionary/dictionary.cpp
ictionary/dictionary.h
d2230525bc25bc2073886ea407f0d8ba26fe41fc 15-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Have mPrevWordCount in DicNodeProperties.

Bug: 14425059
Change-Id: I5ce22bace4ec08d0da4e5c167288a742c4426c33
icnode/internal/dic_node_properties.h
c43b6664faedff7f97df24fbc07e1c1c6c4a9106 14-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use passed previous word count in PrevWordsInfo.

Bug: 14425059

Change-Id: I04007bdacf0176a05be7a27ef1c20c5b851d8bed
ictionary/dictionary.cpp
ictionary/dictionary_utils.cpp
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
ession/prev_words_info.h
537f6eea8a8d56fe532913a37f4dbff4b3d490af 11-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use WordIdArrayView for prevWordIds.

Bug: 14425059
Change-Id: Ia84fb997d89564e60111b46ca83bbfa3b187f316
icnode/dic_node.h
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
icnode/internal/dic_node_properties.h
ictionary/dictionary.cpp
ictionary/dictionary_utils.cpp
ictionary/multi_bigram_map.cpp
ictionary/multi_bigram_map.h
olicy/dictionary_structure_with_buffer_policy.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
d53aea5af934f8bf7f0cd46ed578fe531dff96c5 10-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Remove unigram probability from dicNode.

Bug: 14425059
Change-Id: Ie848e8568bb4dbb1d8358e823a881d9157a1aad3
icnode/dic_node.h
icnode/dic_node_vector.h
icnode/internal/dic_node_properties.h
c32356c2291a6de8adf21698e6467f30b5f2e31c 10-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Quit using dicNode.getUnigramProbability().

Bug: 14425059
Change-Id: I192070cc11e5d46c8413ebc19982d6a8c93577fc
ictionary/dictionary_utils.cpp
olicy/traversal.h
uggest.cpp
521e2382da833f114477f4ef68db68a8d30b64d6 10-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use CodePointArrayView to create children DicNodes.

Change-Id: Ie940b6595f3f3f804fbb8dd03c710ea062b75af3
icnode/dic_node.h
icnode/dic_node_vector.h
87a5c76906bae9546189888fa009ce0032ddad0f 10-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use WordAttributes for checking flags.

Bug: 14425059
Change-Id: Idee84478a482a0e7b5cc53e5dbd4e2484584ba79
icnode/dic_node.h
icnode/dic_node_utils.cpp
icnode/dic_node_vector.h
icnode/internal/dic_node_properties.h
esult/suggestions_output_utils.cpp
2111e3abc9c9c0ea0350b8470532bf636b78cdd7 09-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Introduce WordAttributes to get word probability and flags.

Bug: 14425059

Change-Id: Iee11d038e0893d7ddd6c52447907f8c55fecb6a5
icnode/dic_node_utils.cpp
ictionary/dictionary.cpp
ictionary/word_attributes.h
olicy/dictionary_structure_with_buffer_policy.h
11a48f92a517b2c8b1899bc57ab9dfe6c48209eb 09-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use getProbabilityOfWordInContext for prediction.

Bug: 14425059
Change-Id: I9d5c905a0adda3503c593bfbf0bb9af8d1686f5d
ictionary/dictionary.cpp
ictionary/dictionary.h
9f8da0f833c7aab226ed0b93ab6c546380b068bb 09-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use MultiBigramMap in structure policy.

Bug: 14425059
Change-Id: I4d78da4839ef177e0223e6e5bcf0ebd7315c3099
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
olicy/dictionary_structure_with_buffer_policy.h
9c42ad47d4c8e2ae11b51b48609948ff391e89f2 05-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Rename probability to unigramProbability.

Bug: 14425059
Change-Id: I6a204c3b8fb257d037ad95a1a455ae6fb89068fd
icnode/dic_node.h
icnode/dic_node_utils.cpp
icnode/dic_node_vector.h
icnode/internal/dic_node_properties.h
ictionary/dictionary_utils.cpp
esult/suggestions_output_utils.cpp
d02829489027cf4837472de4f6d7efae451059ae 09-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Remove mHasChildrenPtNodes from DicNodeProperties.

Bug: 14425059
Change-Id: I3a9511e7f7c3a722f9942f525530f04def5965da
icnode/dic_node.h
icnode/dic_node_vector.h
icnode/internal/dic_node_properties.h
9ff6fee838870533a0526df3a0948640ffabdd21 05-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Remove DicNode.getPtNodePos().

Bug: 14425059
Change-Id: If6e291d23e68342792febb85f8a576ce785b3845
icnode/dic_node.h
icnode/dic_node_vector.h
icnode/internal/dic_node_properties.h
94e4cd25a8f7417d30a0832f7476d39ece1df788 03-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use word id to get code ponits of the word.

Bug: 14425059
Change-Id: I81accffcdf5abe447c33ffc3a8e8315f9a4cde7f
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
ac983b13a9ee97d9a1a0ecd4a12dff5b2e2552e5 03-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use word id to get shortcut iterator.

Bug: 14425059
Change-Id: I1b35a139bd29f70b328cbc82648783b99f633d72
olicy/dictionary_structure_with_buffer_policy.h
esult/suggestions_output_utils.cpp
847a026cd81f52f7aee0d5fd75c14a3f8619ebaf 03-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Make dictionary structure policy return shortcut iterator.

Bug: 14425059

Change-Id: I0da22c41f818673430c285103af340397aaba9fb
ictionary/binary_dictionary_shortcut_iterator.h
olicy/dictionary_structure_with_buffer_policy.h
esult/suggestions_output_utils.cpp
89a003b12b5e2408b908a8afed498b0425e2c1c8 03-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use word id for methods related to n-grams.

Bug: 14425059

Change-Id: I81e5d3793527776d3c9faa5594005ddbd4a71354
icnode/dic_node.h
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
icnode/internal/dic_node_properties.h
ictionary/dictionary.cpp
ictionary/dictionary_utils.cpp
ictionary/multi_bigram_map.cpp
ictionary/multi_bigram_map.h
ictionary/ngram_listener.h
olicy/dictionary_structure_with_buffer_policy.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
ession/prev_words_info.h
uggest.cpp
985b2c2e91485a0cb293bff35a80877b2be71eae 02-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Add GeometryUtilsTest.

Change-Id: I6ea9ef137c2930ca8e8745fec829b9bcaf1d10b9
ayout/geometry_utils.h
733a023b64a9ec7f2cbdb336b4c2e493ddc0e116 26-Aug-2014 Keisuke Kuroyanagi <ksk@google.com> Remove redundant code.

Change-Id: I173eac15dc128e84893881ec4ee0ad1ad2fce44b
ictionary/property/word_property.cpp
6ae4d79d81aa7aea5529d95bb3eb960a273ef411 27-Aug-2014 Keisuke Kuroyanagi <ksk@google.com> Use IntArrayView for dictionary structure policy.

Change-Id: I0dc94908259d70d5085ff22abf422d90affb1452
ictionary/dictionary.cpp
olicy/dictionary_structure_with_buffer_policy.h
ession/prev_words_info.h
7d475003572c9c2902f5918bad524f4ac233e629 26-Aug-2014 Keisuke Kuroyanagi <ksk@google.com> Use word id to construct DicNode instead of isTerminal flag.

Bug: 14425059
Change-Id: I8484d34756bd76668ece34211e7366a4758d7bf5
icnode/dic_node.h
icnode/dic_node_vector.h
icnode/internal/dic_node_properties.h
olicy/dictionary_structure_with_buffer_policy.h
ed1ab3b3632d7fd366a33944abf1e2d7f9ad6539 15-Aug-2014 Keisuke Kuroyanagi <ksk@google.com> Improve accent error handling in exact match logic.

Bug: 16963362
Change-Id: I50a48806bc3147388d165faab6b572415a851f29
ictionary/error_type_utils.cpp
ictionary/error_type_utils.h
0e6a1d1020c537d847ac4222cf621dea9db4311e 30-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Remove getBigramsIteratorOfPtNode from structure policy.

Bug: 14425059
Change-Id: I427fbfd026c1e33b5e9cf78949fe862d8748b7ec
olicy/dictionary_structure_with_buffer_policy.h
35c62b2cc99761e97f57060ad5e3cdfad926aea7 01-Aug-2014 Keisuke Kuroyanagi <ksk@google.com> Use NgramListener in MultiBigramMap.

Bug: 14425059
Change-Id: I425536290111f2a8172f31370706f858a1e07f6e
icnode/dic_node.h
icnode/dic_node_utils.cpp
ictionary/multi_bigram_map.cpp
ictionary/multi_bigram_map.h
57574b98c2576602e5597f3bd576fe62f723c813 31-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Remove doesAutoCorrectValidWord()." into lmp-dev
5b69472d56eaebecab772012b5a590c5c9ce7511 31-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Remove doesAutoCorrectValidWord().

Possibly offensive words are wrongly demoted when input by
gesture.

Change-Id: Ibb2eb73d4191dea6cb767643341fe96465c1f70c
olicy/scoring.h
esult/suggestions_output_utils.cpp
f40adc97cbe309bafc94492b615daa529752fabc 30-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Add a method to iterate ngram entries." into lmp-dev
2d57b3339ad5b4bbf0939858c36c7daf5e38a4cb 30-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Add a method to iterate ngram entries.

Bug: 14425059
Change-Id: I9962c546504288f6c22b1a7368f775decd229c62
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/ngram_listener.h
olicy/dictionary_structure_with_buffer_policy.h
a704ad254eaf54822e27b9adc1fb97405fd56e4f 30-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Remove PrevWordsInfo.getBigramsIteratorForPrediction()." into lmp-dev
bd1f59bda5ad0b7028ec06c2de078f1623e76cdd 30-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Remove PrevWordsInfo.getBigramsIteratorForPrediction().

This changes the behavior of predictions for some rare cases.
For example, let's consider the case of the prev word is
"ABC", "ABC" and "abc" is in the dict, "ABC" doesn't have
any bigrams, and "abc" has bigrams.
Without this change, "abc"'s bigrams are used for
prediction. But, with this change, "abc"'s bigrams are not
used for prediction. This strategy is the same as the the
current way of bigram probability computation during
traversal (for suggestion).

Bug: 14425059
Change-Id: I857ff39aa70aea265efa651451a63b759bb47d48
ictionary/dictionary.cpp
olicy/dictionary_structure_with_buffer_policy.h
ession/prev_words_info.h
0b1fa0c1c7572893365c019780357a817158e5ea 30-Jul-2014 Ken Wakasa <kwakasa@google.com> Cleanup: C++11 doesn't require a space between angle brackets

Change-Id: Id0777cf3deac94395bd63aee40b49375dff3e35a
ayout/proximity_info_state.h
ayout/proximity_info_state_utils.cpp
ayout/proximity_info_state_utils.h
olicy/dictionary_header_structure_policy.h
2e32e83b6ef88ea7429f96a797563a8032aa5347 29-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Get n-gram probability in structure policy." into lmp-dev
1229879e7c5892e818ab53b3c2162a158cc5e177 28-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Get n-gram probability in structure policy.

Bug: 14425059
Change-Id: Id955a2e07dbdfb90ae55720f0c92597e0594c0d9
ictionary/dictionary.cpp
96d47fe7457ff1dbea4696a5e0edec2801610d47 29-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()

Bug: 14425059
Change-Id: I92403d750d2979408b41554dcd79b0ed31b41161
ictionary/dictionary.cpp
olicy/dictionary_structure_with_buffer_policy.h
179f38cc8c79ee4f1d94a1ddc37a7644a263e4c1 29-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()" into lmp-dev
3225b6fe66a84ed7f499daf84d085141a66bb346 28-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Add boundary check for ver2 bigram reading.

Bug: 16330528
Change-Id: I6aca6c7a735e2a652eb325572d44dff660789cff
olicy/dictionary_bigrams_structure_policy.h
3b8f2ece4073017b8fd16371b95e6200ec7803ee 08-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Move phrase gesture from additional features to public."
b8a9479b57007edb5cb12c628797f89a8164f596 08-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Move phrase gesture from additional features to public.

Bug: 15758242
Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
uggest_options.h
b00973952f269ebee6d1d5f808fad7ca64fb9954 08-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Get bigrams iterator via dict structure policy.

Bug: 14425059
Change-Id: Ie4c6afbb6a3b707b5aa8e9e4f941c9da6e6bcdbf
ictionary/binary_dictionary_bigrams_iterator.h
ictionary/multi_bigram_map.cpp
olicy/dictionary_structure_with_buffer_policy.h
ession/prev_words_info.h
05b1e0d42f9f103516103d4d33e61862c0851e9d 26-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Extend jni method to use multiple previous words.

Bug: 14425059
Change-Id: I8150e8812ee32f8c713315a234b52e5b3a79d7a0
ession/prev_words_info.h
8681bef03c1ca864d3de0ae27adb5cbfb63f0fef 24-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Remove BigramDictionary form native code.

Bug: 14425059
Change-Id: I48d1a4ae6a4317afaaf67748060618f8f9485d40
ictionary/bigram_dictionary.cpp
ictionary/bigram_dictionary.h
ictionary/dictionary.cpp
ictionary/dictionary.h
d58a07666e9b38086c6486f95ac2d8e8e8eeb955 26-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Rename jni method for n-gram supporting."
83b6ee25385e1c4fd76ca5842ff025acf945596b 24-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Rename jni method for n-gram supporting.

Bug: 14425059
Change-Id: I242d1de5d9db37344f02d8fba9035829794a56c8
ictionary/dictionary.cpp
ictionary/dictionary.h
0aef59746c6dd32ea3e3ed0d25b5fbc33e4605d8 25-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Make Beginning-of-Sentence prediction require two exposures.

Bug: 15868192
Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba
ictionary/bigram_dictionary.cpp
88fa47a27d45f6460971d0d223aa558e121b3478 23-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Support migration/dump of Beginning-of-Sentence entries.

Bug: 14119293
Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084
ictionary/property/word_property.cpp
f7322b166b88f72b19509d8416700d4ec8ea7753 23-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Make getNextWordAndNextToken output code point count.

Bug: 14425059
Change-Id: Id1c2927c8a1be0b1680206d444dbdf0c9453dceb
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
86fe8081b315e1036a2ee385851184752352c2a8 12-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Add removeUnigramEntry() to native dictionary policy."
f12985245c962779f0b422b3072cffe533b4edfb 11-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Add removeUnigramEntry() to native dictionary policy.

Bug: 15552347
Change-Id: Ic713f79ef26b5963060304df9c0a3a402c3cc6d4
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
447c19364ac0fa7b280b3ebd8f6e820eb925ebde 12-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Enable Beginning-of-Sentence prediction for contextual dict."
22931cd94155b5623b9fa52c0596a44aa89bf606 11-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Enable Beginning-of-Sentence prediction for contextual dict.

Bug: 14161647
Bug: 14119293
Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2
ession/prev_words_info.h
59ed0c2db2714f36c18d0882c7845455b5b3dd43 12-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Block offensive words in native code.

Bug: 15300452

Change-Id: Ic6c91c47453e19fb5db2c62b66659619e72b1ecf
esult/suggestions_output_utils.cpp
uggest_options.h
d9b8602f4862c2c876e1499aad7ca7d77ea66595 06-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Implement getMaxProbabilityOfExactMatches().

Bug: 13142176
Bug: 15428247
Change-Id: I5be6d683be95505412615ca7c88260de1ea05f54
icnode/dic_node.h
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
icnode/dic_node_vector.h
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/dictionary_utils.cpp
ictionary/dictionary_utils.h
7852765a503fe6dab54e1c4ab9e5e6b7bbdc70f2 28-May-2014 Keisuke Kuroyanagi <ksk@google.com> Add length check for attaching a BoS marker.

Bug: 15297872
Change-Id: I7b0a27409b81b76561d19c6caa18a5011d3e90f6
ession/prev_words_info.h
dfca51726e9dc9a35f462dee39331823eafa07c9 27-May-2014 Keisuke Kuroyanagi <ksk@google.com> Return whether the dynamic dict operation was success.

Bug: 12184250
Change-Id: Iee7e00c1e84c95551a077f4dd023c0a9b9ac9466
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
a6278eb9c1fbe102259cba392b1459f712ca46e7 26-May-2014 Keisuke Kuroyanagi <ksk@google.com> Use whether it's exact match to detect distracters.

Bug: 13142176
Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf
ictionary/dictionary.h
ictionary/error_type_utils.cpp
ictionary/error_type_utils.h
esult/suggestions_output_utils.cpp
96990ca77357c8c3c518f71e2d9d8cfc62b2ee88 23-May-2014 Keisuke Kuroyanagi <ksk@google.com> Support Beginning-of-Sentence in native code

Bug: 14119293
Change-Id: I0f382e33a19bf481823b23405d454de61ec835ff
ession/prev_words_info.h
2a015dcb25b2996ccca0d9fac74b334aa35928a3 22-May-2014 Keisuke Kuroyanagi <ksk@google.com> Add Beginning-of-Sentence info in UnigramProperty.

Bug: 14119293
Bug: 14425059
Change-Id: I8a894352568377d32468e5563f4e89af00d22944
ictionary/dictionary.cpp
ictionary/property/unigram_property.h
olicy/dictionary_header_structure_policy.h
9f8c9a0161924f515c5ff9617db2317cdc1d01e2 21-May-2014 Keisuke Kuroyanagi <ksk@google.com> Use PrevWordsInfo to add/remove n(bi)-gram in native code.

Bug: 14119293
Bug: 14425059
Change-Id: I4b9a46bfd670b35195418eaee51456d44fb91b6d
icnode/dic_node.h
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/property/bigram_property.h
olicy/dictionary_structure_with_buffer_policy.h
ession/dic_traverse_session.cpp
ession/prev_words_info.h
fa7db65dec4b5d69c1565f114f18084d0d4eb5ec 19-May-2014 Keisuke Kuroyanagi <ksk@google.com> Support multiple previous words in DicNode.

Bug: 14425059
Change-Id: Ib8682befe4d7d9fe5122eb538e7c804f75ded463
icnode/dic_node.h
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
icnode/internal/dic_node_properties.h
ession/dic_traverse_session.h
uggest.cpp
45d1a936a7a318286c4404951db1bd825e25cc7c 16-May-2014 Keisuke Kuroyanagi <ksk@google.com> Move prev word related logic to PrevWordsInfo.

Bug: 14119293
Bug: 14425059
Change-Id: I1bbd7ab4ace2c475f27bc468cb7b4d67e1ae2f9f
ictionary/bigram_dictionary.cpp
ictionary/binary_dictionary_bigrams_iterator.h
ession/dic_traverse_session.cpp
ession/prev_words_info.h
b94ec1437b624a45ad5c0fde2dd385116e5e1163 15-May-2014 Keisuke Kuroyanagi <ksk@google.com> Introduce MAX_PREV_WORD_COUNT_FOR_N_GRAM.

Bug: 14425059
Change-Id: I587f90df026a14359d2ee452040bbfaf02c1ae51
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
ession/prev_words_info.h
b87fffb8be3dc6a79e49890a7700704d7fee616b 15-May-2014 Keisuke Kuroyanagi <ksk@google.com> Refactoring: Move prev word information into PrevWordsInfo.

Bug: 14119293
Bug: 14425059

Change-Id: I5a5f81c6b189e3ad1da093343a3121463f87c21c
ictionary/bigram_dictionary.cpp
ictionary/bigram_dictionary.h
ictionary/dictionary.cpp
ictionary/dictionary.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
ession/prev_words_info.h
d6fdd58cc0dcdd1e1b1018de10a30e423494a8fd 15-May-2014 Keisuke Kuroyanagi <ksk@google.com> Cleanup DicTraverseSession.

Change-Id: I953665e1958e7214e9365e2bc9d3f3843016dc81
ictionary/dictionary.cpp
ession/dic_traverse_session.h
304a71d171fc1041f5c19b1f05fbe329c6a3ed3f 14-May-2014 Keisuke Kuroyanagi <ksk@google.com> Use JniDataUtils::putXxxToArray() to output a value.

Change-Id: Ifb7bed6623b01acb524566a0fe00dcbdf7273888
esult/suggestion_results.cpp
d2f7cd28aefb71f3f340f1a8572e5477e5f5dfb3 14-May-2014 Keisuke Kuroyanagi <ksk@google.com> Use JniDataUtils::outputCodePoints() to output code points

Bug: 14119293
Bug: 13758761

Change-Id: I516d2f96e219e6e65246f502186ccb9bd5f0670f
ictionary/property/word_property.cpp
esult/suggestion_results.cpp
d0d0113983f000fadc9da89271200620330b0356 12-May-2014 Keisuke Kuroyanagi <ksk@google.com> Code cleanup.

Change-Id: Ic31b66cccfd77348f2ff7961959a3eaf9f7ad5d8
ayout/proximity_info.cpp
ayout/proximity_info_state_utils.h
620a05ae59ec9f7be39557094fc306c51c712ca1 12-May-2014 Keisuke Kuroyanagi <ksk@google.com> Support bigram historical information migration.

Bug: 13406708
Change-Id: I4bae53e43cb7653eac3b5bd13da2d2bc8aaf88a9
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
8a9d9de72a9ab02cb4726c205213d4f0b9f58e07 07-May-2014 Keisuke Kuroyanagi <ksk@google.com> Implement migrateNative().

Bug: 13406708
Change-Id: Ie786a68e780baa298fedf82d21390ba45d871a52
ictionary/property/word_property.h
olicy/dictionary_header_structure_policy.h
9e15b4551eaff96c3cde6e99132a1aab3900f923 28-Apr-2014 Ken Wakasa <kwakasa@google.com> Small clean up on MAX_LOCALE_STRING_LENGTH

Change-Id: I77f93879e841f33b81f6d193d1bd5782ad2124f5
ayout/proximity_info.h
d4e54af0bad9cdee02756f4973fb48670005e31a 14-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Make addUnigramWord use UnigramProperty."
793124855de9dabb9e85b1e06619716649f087c5 14-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Make addUnigramWord use UnigramProperty.

Bug: 13406708
Change-Id: I10c108dd7047fe230c60495f13800f32fdc46d0d
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
8ca9be17db2f1845c7c7a3b584507cf60c9ca53d 11-Apr-2014 Ken Wakasa <kwakasa@google.com> s/hash_map_compat/unordered_map/

Change-Id: Icce5f9a12b04bdd7540c52750d303a585d71f28a
ictionary/multi_bigram_map.cpp
ictionary/multi_bigram_map.h
ayout/proximity_info.h
ayout/proximity_info_state.cpp
ayout/proximity_info_state.h
ayout/proximity_info_state_utils.cpp
ayout/proximity_info_state_utils.h
ayout/proximity_info_utils.h
63d33f42c8a310333544221345aed2bad64a2c0f 08-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Increase terminal cache size for gesture.

Before:
(0) 670.00 (10.52%)
(1) 5530.00 (86.81%)
(2) 120.00 (1.88%)
Total 6370.00 (sum of others 6320.00)

After:
(0) 730.00 (11.06%)
(1) 5750.00 (87.12%)
(2) 100.00 (1.52%)
Total 6600.00 (sum of others 6580.00)

Bug: 13773693
Bug: 10701902
Bug: 9505397
Change-Id: Ie53640994180a7acabe05da544ab2166403e2394
olicy/traversal.h
uggest.cpp
bc9500fb14622f8b185e30a10a7c0b4c5a29930a 07-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Quit limiting gesture search space by distance.

Before:
(0) 470.00 (8.25%)
(1) 5160.00 (90.53%)
(2) 50.00 (0.88%)
(66) 10.00 (0.18%)
Total 5700.00 (sum of others 5690.00)

After:
(0) 670.00 (10.52%)
(1) 5530.00 (86.81%)
(2) 120.00 (1.88%)
Total 6370.00 (sum of others 6320.00)

Bug: 13773693
Bug: 10701902
Bug: 9505397

Change-Id: Ie168ac4ae0ca0e954512b08e3cc0f6399a3c163d
ayout/proximity_info_params.cpp
ayout/proximity_info_params.h
ayout/proximity_info_state.cpp
ayout/proximity_info_state.h
ayout/proximity_info_state_utils.cpp
ayout/proximity_info_state_utils.h
26c806620c26e048918624367ee624526613b0d2 09-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Use 2D normal distribution for gesture.

Bug: 13799846
Bug: 10701902
Bug: 9505397

Change-Id: I6c3f84f035f2310f2f7dfec4432ebdb6e50d5df0
ayout/normal_distribution_2d.h
ayout/proximity_info_params.cpp
ayout/proximity_info_params.h
ayout/proximity_info_state.cpp
ayout/proximity_info_state_utils.cpp
ayout/proximity_info_state_utils.h
e3d57ae792779a6e5588cb97885970cb1adef312 09-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Use bitset for BloomFilter."
2fd0bf9a37b510e1a79dd8c43ed6f6d5919dc376 09-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Use bitset for BloomFilter.

Before:
(0) 660.00 (1.43%)
(1) 45320.00 (98.18%)
(2) 80.00 (0.17%)
Total 46160.00 (sum of others 46060.00)

After:
(0) 620.00 (1.34%)
(1) 45310.00 (98.05%)
(2) 130.00 (0.28%)
Total 46210.00 (sum of others 46060.00)

Change-Id: I936b639c50e15208aee999a929b33983c6caa59d
ictionary/bloom_filter.cpp
ictionary/bloom_filter.h
e41b2ed8d31b84308f77a0bd14c5eecc5a17960a 08-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Separate unigram/bigram property from WordProperty.

Bug: 13406708

Change-Id: I48e9fccedd9dcdc1a35ffe027745b58966a83315
ictionary/dictionary.h
ictionary/property/bigram_property.h
ictionary/property/unigram_property.h
ictionary/property/word_property.cpp
ictionary/property/word_property.h
ictionary/word_property.cpp
ictionary/word_property.h
olicy/dictionary_structure_with_buffer_policy.h
cafab169cdb21244c82b99c09983c98066113d87 06-Apr-2014 Ken Wakasa <kwakasa@google.com> s/stdint.h/cstdint/

Somehow, we were not able to use cstdint gcc target build. That's no
longer the case with Clang.

Removed unnecessary header inclusions too.

Change-Id: Ic83a4adf696f1d5ec7a9809253f3c95804e622e1
icnode/dic_nodes_cache.h
icnode/internal/dic_node_properties.h
icnode/internal/dic_node_state_output.h
icnode/internal/dic_node_state_scoring.h
ictionary/bloom_filter.h
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/error_type_utils.h
ession/dic_traverse_session.h
3bf9647a26e4a46586bb5f79d0120b8cbcd88c80 04-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Separate NormalDistribution from ProximityInfoUtils.

Bug: 13773693
Change-Id: I9e835cc92e16f8ae0e0492af0715d0ef5cd84a35
ayout/normal_distribution.h
ayout/proximity_info_state_utils.cpp
ayout/proximity_info_utils.h
5f6a247744abb66f8a3584b4fc175ca55caa65cb 03-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Remove unused code.

Bug: 13773693
Change-Id: Ic9d7f81b0eed40e945b04a91fd97ba40fa1cd262
ayout/proximity_info.cpp
ayout/proximity_info.h
ayout/proximity_info_params.cpp
ayout/proximity_info_state.h
ayout/proximity_info_state_utils.h
de2b312c6d00509a313c076d0be37eea5c2d41f3 02-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Use same language weight for all dictionaries.

Bug: 8187060
Change-Id: Ib9d8a8aed2c141137c1bb3c748a89fb8216293e7
ictionary/dictionary.cpp
ictionary/dictionary.h
esult/suggestion_results.cpp
esult/suggestion_results.h
esult/suggestions_output_utils.cpp
esult/suggestions_output_utils.h
uggest.cpp
uggest.h
uggest_interface.h
da93bc54b26db57a8590634746f74954717dac37 01-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Remove useless methods from DicNode."
94c7bd471f6fdff8d38d25386911f605f13a707f 01-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Separate DicNodePool from DicNodePriorityQueue."
ef1d4ddc8f7e9c6b8adfde78c48539e48a668f5c 28-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove useless methods from DicNode.

Change-Id: I6ea5eb7e848dbce0f0d468160c16e5da76b23b20
icnode/dic_node.h
67ff21f3217c9f2ff81beac6f29f5c35a83da228 01-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Separate DicNodePool from DicNodePriorityQueue.

Change-Id: Ie500a4185792c2ffa0f5185ea5919626fe31c6fe
icnode/dic_node.cpp
icnode/dic_node.h
icnode/dic_node_pool.h
icnode/dic_node_priority_queue.h
icnode/dic_node_release_listener.h
icnode/dic_nodes_cache.h
ff1b3947c6c578c8073902d0834600bcbdd45763 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Split SuggestionsOutputUtils::outputSuggestions.

Bug: 13333066
Change-Id: Ie5e513dacdc5502e7263ddf709824bbd6bc6b74a
esult/suggestions_output_utils.cpp
esult/suggestions_output_utils.h
a0ea92f76c2e73e4b4bbb59680bc6cd3c33f0573 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove mPartiallyCommited.

Bug: 13333066

Change-Id: I4e3aa31aa501866c23cc4b86093b866306161bfd
esult/suggestions_output_utils.cpp
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
655b65cb0ba8d803c9f57b5e06dc242f77769883 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Cleanup DicNodePriorityQueue.

Change-Id: Ia44ca0e14f8aad090ae2b8007771dea6d9b41221
icnode/dic_node_priority_queue.h
144b9a6336181c790866b09957c543416418ebcf 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove DicNode.managedDelete.

Change-Id: I8146975d72878ba34d1c5054a7cf5fdcc41a3332
icnode/dic_node.h
icnode/dic_node_priority_queue.h
icnode/dic_node_release_listener.h
icnode/dic_nodes_cache.h
esult/suggestions_output_utils.cpp
uggest.cpp
d73edf23aca59e6a0a83a79cf24db3850ef473ff 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Use SuggestionResults to get suggestion.

Bug: 8187060
Bug: 13333066
Change-Id: I435096ecf8422453f9b167adb0ca3b9c8a840018
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/scoring.h
esult/suggestion_results.cpp
esult/suggestion_results.h
esult/suggestions_output_utils.cpp
esult/suggestions_output_utils.h
uggest.cpp
uggest.h
uggest_interface.h
a83b013eecd17ccfb426608bd84280df28e3a170 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove DicNodeUtils::appendTwoWords().

Change-Id: I7402793b3f71ef5d786abea2f97bd4b624e4405f
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
esult/suggestions_output_utils.cpp
90f6411899393b1d64dcac1c162d6f84bc2e2b7b 20-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove DicNode.isFirstWord().

Change-Id: I825c0f7cf1fcf66c6309e0bab8e0fdd767170107
icnode/dic_node.h
eddbb7ac88c3174ffdc38a9dd799029302f55d03 25-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Merge DicNodeStatePrevWord into DicNoteStateOutput.

Before:
(0) 2232.70 (0.86%)
(1) 255258.50 (98.89%)
(2) 585.73 (0.23%)
(66) 0.26 (0.00%)
Total 258126.46 (sum of others 258077.18)

After:
(0) 2249.23 (0.93%)
(1) 239883.63 (98.83%)
(2) 554.82 (0.23%)
(66) 0.35 (0.00%)
Total 242734.38 (sum of others 242688.04)

Change-Id: I9760cae5b98b3d1f4804b6b60317887eaa3ff71c
icnode/dic_node.h
icnode/internal/dic_node_properties.h
icnode/internal/dic_node_state.h
icnode/internal/dic_node_state_input.h
icnode/internal/dic_node_state_output.h
icnode/internal/dic_node_state_prevword.h
icnode/internal/dic_node_state_scoring.h
7c20f140e0ab3efa25dd0708e1373b231339f5e2 20-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Remove unused partial commit."
5a0381f7d00abf97f5792958420dbb8535977ab3 20-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove unused partial commit.

Change-Id: Ia9341a5cb24947d93056810890d94c1f66481d8c
icnode/dic_node.h
icnode/dic_nodes_cache.cpp
icnode/dic_nodes_cache.h
icnode/internal/dic_node_state_input.h
icnode/internal/dic_node_state_prevword.h
ictionary/dictionary.cpp
ictionary/dictionary.h
uggest.cpp
uggest.h
uggest_interface.h
18ba146b72c5ff645d57e72fd1861ac59c3b7257 20-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Stop apply Completion for DicNodes without any proximity chars.

Bug: 13538127
Change-Id: Ifffc0cde1ea8a0ceb13e4e4e57c151b3ea33a522
icnode/dic_node.h
icnode/internal/dic_node_state_scoring.h
ictionary/error_type_utils.h
5dc17c22ca88cf1dcf2225d8b252bcfa8c84d364 07-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Fix: wrong suggestion comparator.

Change-Id: I8829c7cb3060955e345fbdc003cf77f8469d37c0
esult/suggested_word.h
34ab0384148205a21a9e7c8c775e097fa8a25662 11-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Stop new BigramDictionary."
b43ea5c3359259b042a6f58883c61a82acf34e82 10-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Use isFirstCharUppercase instead of get first code point.

Change-Id: I0a28305397bfc1e7218e16df00839781a74f5599
icnode/dic_node.h
icnode/internal/dic_node_state_output.h
0a5efa31de50a204423efeab8b9e54bf81672300 10-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Add getter methods for public member variables.

Change-Id: Ic6656bb3db6db992b37923db53816e0a73a7621f
icnode/dic_node.h
icnode/internal/dic_node_state.h
icnode/internal/dic_node_state_output.h
icnode/internal/dic_node_state_prevword.h
6066069f3518822a2723717cc418de1f62414beb 10-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Move initialization logic for from DicNode to DicNodeState.

Change-Id: Ic7075349e2e9c7f4ca707efa12ad1d24b49a2c87
icnode/dic_node.h
icnode/internal/dic_node_state.h
258260bef2beafc46e1082fda585312b797f0982 10-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove unused member of DicNodeStatePrevWord.

Change-Id: I265855da58e3a2e070e525e116ac0d18d1a10d18
icnode/dic_node.h
icnode/internal/dic_node_state_prevword.h
632c9aca5bbae49be278cf3e88d12b364fbd6fc8 10-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Improve DicNode handling.

- Stop creating useless DicNode and DicNodeVector.
- Remove useless virtual.
- Implement copy constructor and assignment operator of DicNodeState.
- Remove useless memset.

Before:
(0) 2266.21 (0.79%)
(1) 285422.05 (98.97%)
(2) 642.62 (0.22%)
(66) 0.19 (0.00%)
Total 288384.35 (sum of others 288331.07)

After:
(0) 2232.70 (0.86%)
(1) 255258.50 (98.89%)
(2) 585.73 (0.23%)
(66) 0.26 (0.00%)
Total 258126.46 (sum of others 258077.18)


Change-Id: I0bb1e9de8b38a6743a11aaeb2b17bd0da5b7ad34
icnode/dic_node.h
icnode/internal/dic_node_properties.h
icnode/internal/dic_node_state.h
icnode/internal/dic_node_state_input.h
icnode/internal/dic_node_state_output.h
icnode/internal/dic_node_state_prevword.h
icnode/internal/dic_node_state_scoring.h
uggest.cpp
87db47d175cab854585c209d929628ce4ae25d8d 10-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Use emplace_back to push DicNode to vector.

Before:
(0) 2234.43 (0.71%)
(1) 310083.71 (99.07%)
(2) 626.88 (0.20%)
(66) 0.26 (0.00%)
Total 312995.33 (sum of others 312945.28)

After
(0) 2266.21 (0.79%)
(1) 285422.05 (98.97%)
(2) 642.62 (0.22%)
(66) 0.19 (0.00%)
Total 288384.35 (sum of others 288331.07)


Change-Id: I5ab98076c54d147ff7ec2a29280859f4558e24d0
icnode/dic_node_utils.cpp
icnode/dic_node_vector.h
66cc9dec55bcfff9a92acb9a4b40a041d130185b 06-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Stop new BigramDictionary.

BigramDictionary is allocated inside of Dictionary.

Change-Id: If224b4c408403f43eb3d2e292c0e0ecb86429290
ictionary/dictionary.cpp
ictionary/dictionary.h
e137ec0a91cf93b0a99fd1e1556ee835d026f731 07-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Introduce SuggestionResults and use it for predictions.

Bug: 8187060
Bug: 13333066
Change-Id: I1ead897024508b7e40fbd93af7d14bfe74b93826
ictionary/bigram_dictionary.cpp
ictionary/bigram_dictionary.h
ictionary/dictionary.cpp
ictionary/dictionary.h
esult/suggested_word.h
esult/suggestion_results.cpp
esult/suggestion_results.h
c36c97b4f797bd20625f232f032c862611dfef44 07-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Use unique_ptr."
6767f88e3c7814ab9aecd256e24b939f9b80234a 07-Mar-2014 Ken Wakasa <kwakasa@google.com> Address warnings pointed out by clang

Change-Id: I7943f6c7f9ba08f283a3116adc2af29495f04a21
ayout/proximity_info_utils.h
4ce480d5ce2d47f607448ce439aaf2cefba1bdd8 06-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Use unique_ptr.


Change-Id: Id92a5b07da4f7f95e2cd293ce8dc1a5f979b7853
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
865e6cf49764f3a411ee32861d927b15653ee398 07-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Revert "Revert "Use std::min() and std::max()""

This reverts commit f63000abeabfaabde5c1ea2201d63d0c4850f1e2.

Change-Id: I6056d176a13c6ecad38e658ab8778bd898291d02
icnode/dic_node_priority_queue.h
icnode/dic_node_utils.cpp
icnode/dic_nodes_cache.h
icnode/internal/dic_node_state_output.h
icnode/internal/dic_node_state_prevword.h
icnode/internal/dic_node_state_scoring.h
ictionary/bigram_dictionary.cpp
ayout/proximity_info.cpp
ayout/proximity_info_state.cpp
ayout/proximity_info_state_utils.cpp
ayout/touch_position_correction_utils.h
esult/suggestions_output_utils.cpp
a1e0ef4836f59a9fd5a2b44ecb94c27227e159c6 07-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Fix: point to line segment distance can be NaN.

Change-Id: I7db6bfea925a0eda82bfb1f7b5e1110b193dabdb
ayout/proximity_info_utils.h
6c7ebc4023086fd61dcc19688663616c4781672a 07-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Use nullptr instead of 0 for pointers.

Change-Id: Ic9425de07b896f940ca11c51968c637ebb897514
icnode/dic_node.cpp
icnode/dic_node.h
ictionary/digraph_utils.cpp
ayout/proximity_info_state.h
ession/dic_traverse_session.h
uggest.h
ca0a0da8640d1469cb460120ff0aede2322c6802 06-Mar-2014 Ken Wakasa <kwakasa@google.com> Switch to C++11

Change-Id: Ib2970327c36422d7b11103d52ba7e9e52db5554f
ayout/proximity_info_state_utils.cpp
9fd50e34a863c18da42d6cfc8f62986a387dd5f8 06-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Fix: Bug of I39e905b6ddfc8d3.

primaryKey have to be the first elemnet of the proximities.

Bug: 13315755
Change-Id: I6c94408a2ef2750fa85ff12b93bed8b8d874717e
ayout/proximity_info_utils.h
2c7e97dcdd2201a26b16b81f9d7fe6fcf8d49262 06-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Create suggest/core/result directory."
fb1588dd3c3d6e199f4f9117353452407c039e5a 06-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Create suggest/core/result directory.

Bug: 8187060
Bug: 13333066
Change-Id: I185c93bd4542d997be101b61561a00d69111c00d
ictionary/suggestions_output_utils.cpp
ictionary/suggestions_output_utils.h
esult/suggestions_output_utils.cpp
esult/suggestions_output_utils.h
uggest.cpp
6501255111070913a75b964ea49aae43de3df77c 05-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Fix: The top left key is a proximity of nonexistent keys.

Bug: 13315755
Change-Id: I39e905b6ddfc8d3510c408a3bea853390a75d088
ayout/proximity_info_utils.h
57816c7a8bac1a47913da7a503ece2b5dd7cc0fc 26-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Check header attributes for forgetting curve.

Bug: 13197276
Change-Id: Ib360010f309fd1ed3e81cf23aa10c1cfe82781a6
olicy/dictionary_header_structure_policy.h
33e38096ad68164a4033eb5a77df75a532f3a7ec 24-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Fix: -1 can be used as a code point of most probable string.

Bug: 11797518
Change-Id: Id2e8bce92d000f39d506af7cb844447696bcc019
ayout/proximity_info_state_utils.cpp
b96012acef7c7add578b95efa17f3b6132220fd6 20-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Record reading error during traversing dictionaries.

Bug: 12916055
Change-Id: I439f21aa87cfa1f71e0354370a1514af03d68f6c
olicy/dictionary_structure_with_buffer_policy.h
14fe931362054affe1bf14cf053589f93d5b7229 19-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Fix: using wrong method to call ArrayList.add.

bug: 13072808
Change-Id: I60dc5ae1e535f2f0b3784a12c40ac082560a436f
ictionary/word_property.cpp
68902462591dcc25b9ff56e4d51d4a54a9ccacfa 13-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Fix reading uninitialized memory in BloomFilter.

Bug: 12967899

Change-Id: I180b9d728c887c480b6d956bbc4599079c1c359f
ictionary/bloom_filter.h
a000a32c8094d0dec453b0cebf748a089b0ad39a 13-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Fix reading uninitialized memory.

Bug: 12967899

Change-Id: Ia17e4ca9dd8c1e0b24b0fb7e73d07b97c5d81c0c
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/suggestions_output_utils.cpp
ictionary/suggestions_output_utils.h
olicy/scoring.h
uggest.cpp
uggest.h
uggest_interface.h
fc9ca59cc1dccc8353528c42a7eb710ad6d90e14 06-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Implement getHeaderInfoNative.

Bug: 11281877
Bug: 12810574
Change-Id: Ia3d85ae2cfdb486e74b8636a62431eae883c85da
ictionary/dictionary.h
olicy/dictionary_header_structure_policy.h
1d3058daa12a844f45a55022df2999c66b1c7c17 04-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Don't boost exact matches for personalized dicts."
54622d38c246cb5b2ccb24c6756df25b0ce730f4 04-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Don't boost exact matches for personalized dicts.

Bug: 12800726
Change-Id: Ia3a2f82db6cdc9645cad0e329c0b79328d7452cc
ictionary/suggestions_output_utils.cpp
olicy/dictionary_header_structure_policy.h
olicy/scoring.h
38f341a2a53a04ce4195a0cb99fcb6e71203dec0 03-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Add a jni method to iterate words in a dictionary.

Bug: 12810574
Change-Id: I87b13559765f0262dfd06c2ba40d43af6437ea7f
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
9221772ab7f112f6ef9136a69d0502befbdc544e 03-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Get bigram information via getWordProperty().

Bug: 12810574
Change-Id: I2750a5659ccbc3e31307c28e35dd9a1dbdffbeee
ictionary/word_property.cpp
ictionary/word_property.h
94d9a2309fbca6b1e42b6c57b9c9509182fe8a0b 31-Jan-2014 Keisuke Kuroyanagi <ksk@google.com> Extend jni interface to get bigrams in WordProperty.

Bug: 12810574
Change-Id: Ia4b88d02ea8790a5c47d32376cc0b84c3e071ddd
ictionary/word_property.cpp
ictionary/word_property.h
20b7786ece30ae8962830ba595b5083dccd3f648 30-Jan-2014 Keisuke Kuroyanagi <ksk@google.com> Add BigramProperty and ShortcutProperty in WordProperty.

Bug: 12810574
Change-Id: Ia9e497c49bb2cf10897bae3a79317113325db819
ictionary/word_property.cpp
ictionary/word_property.h
080a35e959435566e768f2e31afdac784a4dcd00 31-Jan-2014 Keisuke Kuroyanagi <ksk@google.com> Rename UnigramProperty to WordProperty.

Bug: 12810574
Change-Id: If5ddd803948aaf6e491ddcbaa5436fb3af3f7257
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/unigram_property.cpp
ictionary/unigram_property.h
ictionary/word_property.cpp
ictionary/word_property.h
olicy/dictionary_structure_with_buffer_policy.h
5f7f6a1615916d6f79bd240ead0715c417a68f44 30-Jan-2014 Keisuke Kuroyanagi <ksk@google.com> Simplify UnigramProperty.

Bug: 12810574
Change-Id: I606f559b5dd340b7525280ecead2c2c7ec920a78
ictionary/unigram_property.cpp
ictionary/unigram_property.h
21e2380234f5f2bf069239e76b0fa8758b67b6a7 28-Jan-2014 Keisuke Kuroyanagi <ksk@google.com> Improve the double letter word promotion logic.

The old logic only checks the top 3 suggestions before the
final adjustment. It leads to instability in scores.

Bug: 10700674
Change-Id: I986aed2aefd66c1fba6196a8f100fcb5bc838a38
ictionary/suggestions_output_utils.cpp
olicy/scoring.h
3e0777e726ce40b4c4b65174a21db41c19f04602 20-Jan-2014 Keisuke Kuroyanagi <ksk@google.com> Use memmove for all place src and dest can be same.

Change-Id: I03e5c8f95cb22c7096ff545f1181f914b80a6c58
icnode/dic_node_utils.cpp
icnode/internal/dic_node_state_output.h
icnode/internal/dic_node_state_prevword.h
ayout/proximity_info_state.cpp
96386934799b7978f1f4842a10260b80a422d42b 14-Jan-2014 Keisuke Kuroyanagi <ksk@google.com> Fix native crash in BigramDictionary::addWordBigram()

Bug: 12479653
Change-Id: I7d263f744f711202000524a47769dc2d3d0e0de6
ictionary/bigram_dictionary.cpp
84c52a3c813669d70305e584763549c989d9305d 10-Jan-2014 Keisuke Kuroyanagi <ksk@google.com> Boundary check for ProximityInfoState::getProximityTypeG().

Bug: 12481052
Change-Id: Ic0b64d2fa17eb8f65f3ad1a7b468cdf6dddf7e70
ayout/proximity_info_state.cpp
afa6c07d30193e5ba221a53f7670a5c4e2f635d1 18-Dec-2013 Keisuke Kuroyanagi <ksk@google.com> Differentiate exact matches' minor errors.

Bug: 8844931
Change-Id: I06754643188ccd28ba8c873878f7761787d91ff6
icnode/dic_node.h
icnode/internal/dic_node_state_scoring.h
ictionary/error_type_utils.h
ictionary/suggestions_output_utils.cpp
olicy/scoring.h
d8f35f7b4c68dc8de8a8406283ad7b37902e633a 18-Dec-2013 Keisuke Kuroyanagi <ksk@google.com> Move methods for outputting from Suggest.

Bug: 8844931
Change-Id: I83dde6c37b75ed1e1ae4e0972e169d30ada8faf5
ictionary/shortcut_utils.h
ictionary/suggestions_output_utils.cpp
ictionary/suggestions_output_utils.h
uggest.cpp
uggest.h
9ee90955287d616158ad4cf099c4772f58c16942 18-Dec-2013 Keisuke Kuroyanagi <ksk@google.com> Move methods for scoring from Traversal to Scoring.

Bug: 8844931

Change-Id: I6137d06e597f4e7b81aaf29555199e18984f2c39
olicy/scoring.h
olicy/traversal.h
uggest.cpp
d5f5dd74c2e0946d4686a4f22cda1591b34b6729 18-Dec-2013 Keisuke Kuroyanagi <ksk@google.com> Quit suggest words that do not include proximity chars.

Bug: 10416722

Change-Id: I74d27c6a22b4ca47d02eb238b2fbcc49f5dee99c
icnode/dic_node.h
uggest.cpp
2fa3693c264a4c150ac307d9bb7f6f8f18cc4ffc 13-Dec-2013 Ken Wakasa <kwakasa@google.com> Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c

The bulk merge from -bayo to klp-dev should not have been merged to master.

Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
icnode/dic_node.h
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
icnode/dic_node_vector.h
icnode/internal/dic_node_properties.h
icnode/internal/dic_node_state_prevword.h
icnode/internal/dic_node_state_scoring.h
ictionary/bigram_dictionary.cpp
ictionary/bloom_filter.h
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/digraph_utils.cpp
ictionary/digraph_utils.h
ictionary/error_type_utils.cpp
ictionary/error_type_utils.h
ictionary/multi_bigram_map.cpp
ictionary/multi_bigram_map.h
ictionary/unigram_property.cpp
ictionary/unigram_property.h
ayout/proximity_info.cpp
ayout/proximity_info.h
ayout/proximity_info_state.cpp
ayout/proximity_info_state.h
olicy/dictionary_header_structure_policy.h
olicy/dictionary_structure_with_buffer_policy.h
olicy/weighting.cpp
olicy/weighting.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
uggest.cpp
f309f2288b0652df0b611ed3f86897c939e68d63 07-Oct-2013 Jean Chalard <jchalard@google.com> Don't auto-correct to non-whitelist shortcuts

Bug: 11076722
Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20
ictionary/shortcut_utils.h
67c855ea6f882190d73df9d3fae0b56929fd6888 04-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Check the elapsed time for decaying.

Bug: 6669677
Change-Id: I0401a4c0908c702ce65abfa5e017dd16cb1296f9
olicy/dictionary_header_structure_policy.h
74577bedb3bb0dabd0e661270f9da0c11c4b0f46 01-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Implement the heuristic for auto-commit."
ff9476f10ae271aa6df87aadb8b2b9edfeeb8a1d 01-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Fix typos"
3e954347e3a7b381d7e94feb002e158f3bc69a32 01-Oct-2013 Jean Chalard <jchalard@google.com> Fix typos

I think I may pass out from the sheer ugliness

Change-Id: I1e709f03ef47ec713552d41fd9e37e01b810ae88
icnode/dic_node.h
ayout/proximity_info_params.cpp
ayout/proximity_info_params.h
ayout/proximity_info_state_utils.cpp
uggest.cpp
459cd6f8ef3eaa561e47dd996ce537770ea8b37a 01-Oct-2013 Jean Chalard <jchalard@google.com> Implement the heuristic for auto-commit.

Bug: 9059617
Change-Id: I066abf018df5aaeabf415425dd822ebe233e6008
icnode/dic_node.h
uggest.cpp
uggest.h
699531099630edd8416e309c914187c285af4c44 01-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Separate "GC" and "GC with decay".

Bug: 6669677
Change-Id: I9d6aba76cef2616f0549e612db9701e1d6a19467
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
bb57090f1da9d1fc5a0eda9b627d3f8c8b25ab42 30-Sep-2013 Jean Chalard <jchalard@google.com> Create the wiring for auto-commit confidence computation.

Bug: 9059617
Change-Id: I7e4e05ffa8c68cfebbe362a977fd176555cad12a
ictionary/dictionary.cpp
ictionary/dictionary.h
uggest.cpp
uggest.h
uggest_interface.h
da06e385f5f006bc891113847fbdf508376f7f34 30-Sep-2013 Jean Chalard <jchalard@google.com> Surface the distance after first word for autocommit.

Bug: 9059617
Change-Id: Ie9b4cc8148ae8e0ff437b3337ab6c1bde95500f5
icnode/dic_node.h
icnode/internal/dic_node_state_scoring.h
olicy/weighting.cpp
uggest.cpp
c18510049a3422c88ed3ab3bbc64944c94a611fd 30-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Prepare dictionary decay.

Bug: 6669677
Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
1cf4789ba6abb5855392d542bb075c12d2d9b6a0 29-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Set header attributes for ExpandableBinaryDictionary."
5ed30a7660048ef4bf78077e77554c97786eae2b 27-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Set header attributes for ExpandableBinaryDictionary.

Bug: 6669677

Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
ictionary/dictionary.cpp
ictionary/dictionary.h
31097a57cc6f8022abc0ea56f27147399f41b630 27-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Add unigram/bigram counting.

Bug: 6669677
Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
77ef75cbe6722d1eb45115c1ad82f963444d71cd 20-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> GC step 2. Finding garbage bigram entries.

Bug: 6669677
Change-Id: Ie3f406776ab56bf589ac10e15e2534ff8cb1f275
ictionary/bigram_dictionary.cpp
ictionary/multi_bigram_map.h
olicy/dictionary_structure_with_buffer_policy.h
uggest.cpp
9465819cf6f2e6c2074daaae60c5efc0c170185e 18-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Add BinaryDictionary.getBigramProbabilityNative()."
4d02a2d44db94985c9f079cdd58c7c51d3e557ee 18-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Add BinaryDictionary.getBigramProbabilityNative().

Bug: 10197478
Change-Id: Id16e3ee22a17679c46cc7a0199a9e28065177aa3
ictionary/bigram_dictionary.cpp
ictionary/bigram_dictionary.h
ictionary/dictionary.cpp
ictionary/dictionary.h
4e17b42d0fd104ec2cd3a79db2473863228ecb62 17-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Output input index of second word's first char.

This is for partial commit.

Bug: 9059617

Change-Id: I77a0245b63c29b7234fd9b06d362e05aebf30051
icnode/dic_node.h
icnode/internal/dic_node_state_prevword.h
ayout/proximity_info_state.h
ession/dic_traverse_session.h
uggest.cpp
uggest.h
d0246277fde27e9c40a270e206f1d106811e847f 17-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Prepare dictionary saving in native code.

Bug: 6669677

Change-Id: I0787f66409e2b183c6328fa05805945520e1e93a
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
cb816e5e16f086d98c8d05a0a5805c1cdfaf1c02 16-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge NOT_A_VALID_WORD_POS into NOT_A_DICT_POS.

Change-Id: I2ac3aa2a19d14e8c4159a59334e7816bd1409688
icnode/dic_node.h
icnode/dic_node_utils.cpp
icnode/internal/dic_node_state_prevword.h
ictionary/bigram_dictionary.cpp
ictionary/dictionary.cpp
ictionary/multi_bigram_map.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
4c2767857a02c9cf18a9579aa0391fd09b3fe411 12-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Change cache capacity depending on the dictionary size.

Bug: 10699291

Change-Id: I7042d4c1307da2d991d4dd10d637f18026acb996
icnode/dic_nodes_cache.cpp
icnode/dic_nodes_cache.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
1b80a45e798f8cf4d62e4bf96679098d541568d9 12-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Make terminal cache small."
80ca7abea32a97acefcd8a8cb6145f0cdc8f0503 12-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Make terminal cache small.

Bug: 10699291

Before:
(0) 2997.63 (0.98%)
(1) 303760.77 (98.92%)
(2) 274.94 (0.09%)
(66) 0.38 (0.00%)
Total 307062.27 (sum of others 307033.73)

After:
(0) 2953.22 (0.96%)
(1) 304633.86 (98.93%)
(2) 293.76 (0.10%)
(66) 0.38 (0.00%)
Total 307915.65 (sum of others 307881.22)

Change-Id: I6905abeb590ef50d48ddfcd8ef8b5351af399150
icnode/dic_node_priority_queue.h
icnode/dic_nodes_cache.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
f1233b58c2d81b575c92339f146cfe0f73a992fa 11-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Use same session id for typing and gesture.

Bug: 10699291
Change-Id: I7c8a3a57e8d189b72a17e4b9c6831becee6ec146
ayout/proximity_info_state.cpp
ayout/proximity_info_state.h
65d19946bebd1cc6299e2789cc0fc097d1898e80 06-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Compute probability using structure policy.

Bug: 6669677
Change-Id: Icd50fc30274cce65ebeb2e7cc8368b59e5cda05a
icnode/dic_node_utils.cpp
icnode/internal/dic_node_state_prevword.h
ictionary/bigram_dictionary.cpp
ictionary/dictionary.cpp
ictionary/multi_bigram_map.h
ictionary/probability_utils.h
olicy/dictionary_structure_with_buffer_policy.h
uggest.cpp
202e416b51ef4cf3553afeb305ca4b14dd6105e5 03-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Add bigram writing methods.

Bug: 6669677

Change-Id: Ib62f6c31c4bcbb41ac200dccccb13e366b3c2173
ictionary/bigram_dictionary.cpp
ictionary/multi_bigram_map.h
112257e40f6f6d914fac1c3a45f39a770693b386 20-Aug-2013 Yuichiro Hanada <yhanada@google.com> Rename BinaryDictDecoder to Ver3DictDecoder.

Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
ictionary/probability_utils.h
4a65258bc7c284ecf61ba6e4399a7012e71d7952 19-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Fix possible SIGSEGV.

Change-Id: I6008c0457a8da9b90434a3b96a51da1487948f1b
icnode/internal/dic_node_state_output.h
icnode/internal/dic_node_state_prevword.h
0624cc6cf3971aa3c189185208571a5f3d0c459c 15-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Remove BinaryDictionaryInfo and introduce MmapedBuffer.

Bug: 6669677
Change-Id: I70e47fa20109060b6ea7a04bcc42ab8f7c543f77
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
ictionary/dictionary.h
0238e1eb010d6df22fdaf2a202e8a1f2982bf244 15-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer.""
d4fcf1dbc5e795c10aae60e51b6aa3f78c8d8a3a 15-Aug-2013 Ken Wakasa <kwakasa@google.com> Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer."

This reverts commit d14ffcfcbc2e4f5829f05531613b30750adebb32.

This broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=a8a62bd0-3aab-4520-ae64-53f9652ef64b&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS

Change-Id: I1eae460e09808513eacefd523609330819d73d16
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
ictionary/dictionary.h
94460eba11019ec4658c42b4bcc0379d70f41770 15-Aug-2013 Yuichiro Hanada <yhanada@google.com> [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder.

Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
ictionary/probability_utils.h
d14ffcfcbc2e4f5829f05531613b30750adebb32 15-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Remove BinaryDictionaryInfo and introduce MmapedBuffer.

Bug: 6669677

Change-Id: I1459bb53a9761d920427e4b5d925a2844955c88c
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
ictionary/dictionary.h
08ce337d3f670b2532b5eac9d00b6593fb571b4a 15-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Fix: BinaryDictionaryInfo.isDynamicallyUpdatable().

Change-Id: Ifb3acded5e19f1302c7fcc8881b74addd20c1571
ictionary/binary_dictionary_info.h
6ec3f63d59524ed422d8a584d6d5148b0107e582 15-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Make dictionary structure policy have updating methods."
7fd9667d76cdc6febe32545865648ea90dc28904 14-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Remove NodeFilter.

Change-Id: I27d905dd3581cbb0e67d071dba04066aaa2ba22e
icnode/dic_node_proximity_filter.h
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
olicy/dictionary_structure_with_buffer_policy.h
uggest.cpp
90619ae02b1861e644db6a0d72d0e5f9c195ef3e 14-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Move utils for reading dict to policyimpl.

Bug: 6669677
Change-Id: Ia1da3cb84b457665cf26172d3810e1d28329bca4
ictionary/binary_dictionary_format_utils.cpp
ictionary/binary_dictionary_format_utils.h
ictionary/byte_array_utils.cpp
ictionary/byte_array_utils.h
66facd37ddf8fc23ed2508a114c446147aaca724 13-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Make dictionary structure policy have updating methods.

Bug: 6669677

Change-Id: I6aa8e377c6347e0db4b7a82293b316ec64d87bec
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
23d3ed962f150578d98da7b9c61c0466d5697d93 13-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Move files for headerPolicy to policyimpl.

Bug: 6669677
Change-Id: Ic90feb9c3a9a7b698e588c8ad25c765a246706a8
ictionary/binary_dictionary_header.cpp
ictionary/binary_dictionary_header.h
ictionary/binary_dictionary_header_reading_utils.cpp
ictionary/binary_dictionary_header_reading_utils.h
76e579c7caf2ef04f440be21c27377fe0b4150ff 13-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Move header reading methods to policyimpl.

Bug: 6669677
Change-Id: I24cb32f28cf355485b431cc56d877000e3f946d4
ictionary/binary_dictionary_header.cpp
ictionary/binary_dictionary_header.h
ictionary/binary_dictionary_header_reading_utils.cpp
ictionary/binary_dictionary_header_reading_utils.h
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/digraph_utils.cpp
ictionary/digraph_utils.h
olicy/dictionary_header_structure_policy.h
olicy/dictionary_structure_with_buffer_policy.h
ession/dic_traverse_session.cpp
uggest.cpp
d81654cd61bd10f7cb56bfa4c89b34e9cfb18598 13-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Use DictionaryStructureWithBufferPolicy for traversing.

Bug: 6669677
Change-Id: If7bc038278b7217ed5ba4cb77b1238b2dad0001b
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
ictionary/bigram_dictionary.cpp
ictionary/bigram_dictionary.h
ictionary/binary_dictionary_header.h
ictionary/binary_dictionary_header_reading_utils.cpp
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
ictionary/dictionary.h
olicy/dictionary_structure_with_buffer_policy.h
olicy/weighting.cpp
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
uggest.cpp
e607e0722ac5d92bd16153900e5f0fccbb57e18f 13-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Remove TerminalAttributes."
99007de979e006b6b08bf381f2d394377264de85 12-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Quit using BinaryDictionaryInfo in header reading methods.

Bug: 6669677
Change-Id: I5198ae28fcc271dd6ab3c33df940a2d15513a8c8
ictionary/binary_dictionary_format_utils.cpp
ictionary/binary_dictionary_format_utils.h
ictionary/binary_dictionary_header.cpp
ictionary/binary_dictionary_header.h
ictionary/binary_dictionary_header_reading_utils.cpp
ictionary/binary_dictionary_header_reading_utils.h
ictionary/binary_dictionary_info.h
6abdafc67165977b47d7fa7ae176ebe9b3b007ef 12-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Remove TerminalAttributes.

Use BinaryDictionaryShortcutIterator instead of
TerminalAttributes.

Bug: 6669677
Change-Id: Ib7176e3b302ba383344cc6fcc037e23568c702a8
ictionary/binary_dictionary_shortcut_iterator.h
ictionary/shortcut_utils.h
ictionary/terminal_attributes.h
uggest.cpp
7c48352af8233dfc740859b2fe73b007ce737122 12-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Move methods for Shortcut reading to policyimpl.

Bug: 6669677
Change-Id: If0a565de015564f803429f4fbf21b05687f80553
ictionary/binary_dictionary_terminal_attributes_reading_utils.cpp
ictionary/binary_dictionary_terminal_attributes_reading_utils.h
fd10db04e02ddad88d0c6fca82583493955a7c7e 12-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Move shortcut iteration methods to poilcy.

Bug: 6669677
Change-Id: I6e535ce7962de8e153a52fd1085fe961649ffe16
ictionary/binary_dictionary_terminal_attributes_reading_utils.h
ictionary/terminal_attributes.h
olicy/dictionary_shortcuts_structure_policy.h
olicy/dictionary_structure_with_buffer_policy.h
uggest.cpp
277053af7c1920f5312c3ff9e52bc741791e9690 12-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Move bigram reading methods to BigramListReadingUtils.

Bug: 6669677
Change-Id: Icb024a8af577323b4dcf74f4c4054cfb8b57a943
ictionary/binary_dictionary_terminal_attributes_reading_utils.cpp
ictionary/binary_dictionary_terminal_attributes_reading_utils.h
668870be431d17ee4ceb5ce161aee1189063af18 09-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Move bigrams iteration methods to policy.

To support various bigram format.

Bug: 6669677
Change-Id: Ifc8c1a855b03cd5a39d97a6e10872ef8ef76475b
icnode/dic_node_utils.cpp
ictionary/bigram_dictionary.cpp
ictionary/binary_dictionary_bigrams_iterator.h
ictionary/binary_dictionary_terminal_attributes_reading_utils.cpp
ictionary/binary_dictionary_terminal_attributes_reading_utils.h
ictionary/multi_bigram_map.h
ictionary/terminal_attributes.h
olicy/dictionary_bigrams_structure_policy.h
olicy/dictionary_structure_with_buffer_policy.h
e1ebef6124241ef51d5ed17884e6299a330d496b 09-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Make DictionaryStructurePolicy have buffer info.

To support various format dictionary, extendable
buffers or multiple files.

Bug: 6669677
Change-Id: I203a5a4adc049a6322cfba4eacb4cb6715f8dfc2
icnode/dic_node_proximity_filter.h
icnode/dic_node_utils.cpp
ictionary/bigram_dictionary.cpp
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
ictionary/multi_bigram_map.h
olicy/dictionary_structure_policy.h
olicy/dictionary_structure_with_buffer_policy.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
uggest.cpp
60eb250194f05a944447e8bdee94c35a01911870 08-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Support ver3 dict in native code.

Bug: 6669677
Change-Id: Iafc3287f1f87588a6296593d6b43ea4464c8f553
ictionary/binary_dictionary_format_utils.cpp
22f951c8819b40e674a0354f96249927a64f8b6f 05-Aug-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Remove checkFirstCharacter from BigramDictionary."
647c00070712067fc5ae415f9106be5ca4e17464 01-Aug-2013 Keisuke Kuroynagi <ksk@google.com> Give PatriciaTrieReadingUtils methods for reading nodes.

The remaining methods in BinaryFormat will be removed.

Bug: 6669677
Change-Id: I866f828d69a600c0ac03b68d71b1f6ee2ce4dd36
ictionary/binary_dictionary_terminal_attributes_reading_utils.cpp
ictionary/binary_dictionary_terminal_attributes_reading_utils.h
ictionary/byte_array_utils.h
2401f7c62d9109e3b34fde20463ffe225d64d61a 31-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Move binary_format.h to policyimpl.

Bug: 6669677
Change-Id: I3712f60528c7fcf364746f792cec6e180ab2dbef
ictionary/bigram_dictionary.cpp
ictionary/binary_format.h
ictionary/dictionary.cpp
11a431fca6777a531b5d9da51f4105d1cbbd1f77 31-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Fix: appendTwoWords cannot handle MAX_WORD_LENGTH-chars word.

Bug: 9892258
Change-Id: Ib4ef7850c8fc8b1d99d594bb7ef68ce645f0f1f3
icnode/dic_node_utils.cpp
2a2aac2568e3f2da3efc8aeaa392696471d63417 31-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Remove checkFirstCharacter from BigramDictionary.

Bug: 10028452
Change-Id: I27b147e83b312d73e975a0b2bc8074b33906e56e
ictionary/bigram_dictionary.cpp
ictionary/bigram_dictionary.h
ictionary/dictionary.cpp
ictionary/dictionary.h
1fb11da36ab279fa4fcc62d772d9cce877bf23bd 29-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Move creating children methods to structurePolicy.

Bug: 6669677
Change-Id: I20760f8ab95b18d21383960f6466db0d79429200
icnode/dic_node.h
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
icnode/dic_node_vector.h
9d618d1431ec78328bd0eecb90ade8bfcef9b025 29-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Move files only used in dicNode to "internal".

Change-Id: Ib31ddeff99b480d9b1f33a5b5b207a8acce22858
icnode/dic_node.h
icnode/dic_node_properties.h
icnode/dic_node_release_listener.h
icnode/dic_node_state.h
icnode/dic_node_state_input.h
icnode/dic_node_state_output.h
icnode/dic_node_state_prevword.h
icnode/dic_node_state_scoring.h
icnode/internal/dic_node_properties.h
icnode/internal/dic_node_state.h
icnode/internal/dic_node_state_input.h
icnode/internal/dic_node_state_output.h
icnode/internal/dic_node_state_prevword.h
icnode/internal/dic_node_state_scoring.h
4447b14b785652e36adca329f5cddf986bfd14fa 26-Jul-2013 Keisuke Kuroynagi <ksk@google.com> "much" in suggestions of "m" after "very"

Make cache size larger for single point input.

Bug: 9823678
Change-Id: Ic6bbcebd18eccaf9f9ac07d9c0d456a62f6c5287
icnode/dic_node_priority_queue.h
olicy/traversal.h
uggest.cpp
75322cecb9fe02a0914b65c859cfbc2f4e1f70d9 14-Jun-2013 Satoshi Kataoka <satok@google.com> Support terminal insertion error correction

Bug: 9421356

Change-Id: I19685763ca487b5636019d62e150708c63ce6fc2
icnode/dic_node_profiler.h
olicy/weighting.cpp
olicy/weighting.h
uggest.cpp
cb4a7c1d87106c5ac8c13e752b1ceaf585448538 24-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Fix: "saomething" -> "something".

Fixed by making MAX_CACHE_DIC_NODE_SIZE larger.

Bug: 9682742

Change-Id: I0312952c90b0820bed37df99c223921c68450570
icnode/dic_node.h
62f3b4e9c9d896d2026ebf363aeefce36116baac 23-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Fix: huge bigram costs for blacklisted words."
5b7688bbb5ed01b534570e86a91ae1c724e23100 23-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Fix: native crash while iterating bigramslist.

Bug: 9964153
Change-Id: Ia2eb922b61300a7c0e34122cd6c18358f1ee7ba9
ictionary/bigram_dictionary.cpp
ictionary/multi_bigram_map.h
b179199830d198473154cfe56b3d712966a16c6f 22-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Fix: huge bigram costs for blacklisted words.

Bug: 8844931
Change-Id: I523005c5ed9a3d401a67b0e4e1c3ff2e4574e6df
icnode/dic_node.h
icnode/dic_node_utils.cpp
c38ec475962ad6b7f14abe35b950545ebcdbe3c5 17-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Get BigramsPos and ShortcutPos via structure policy.

Bug: 6669677
Change-Id: I924d5512377cfcfe72d3470006b81a36db3865b6
icnode/dic_node.h
icnode/dic_node_properties.h
icnode/dic_node_utils.cpp
icnode/dic_node_vector.h
ictionary/bigram_dictionary.cpp
ictionary/binary_dictionary_bigrams_iterator.h
ictionary/binary_format.h
ictionary/multi_bigram_map.h
olicy/dictionary_structure_policy.h
uggest.cpp
8a7129530b4dbb2453e88747f251d30a2ce75a45 16-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Replace NOT_VALID_WORD with NOT_A_VALID_WORD_POS

Bug: 6669677
Change-Id: If5fb58e8a98b04b767eaaf624cb6a40841b64f54
icnode/dic_node.h
icnode/dic_node_state_prevword.h
icnode/dic_node_utils.cpp
ictionary/bigram_dictionary.cpp
ictionary/binary_format.h
ictionary/dictionary.cpp
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
b6f286bfa549ed91c67d591fc1725e35b114742b 16-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Make bigram dictionary and traverse session use structure policy."
34047d8905fbd2cbe4c99618aab105556ebee9ed 11-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Quit ignoring language cost of exact matches.

Handle exact matches in DicNode::compare() and calculateFinalScore().

Bug: 8844931
Change-Id: I17c78d4e352b0a4308727229b02a8004b38468bf
icnode/dic_node.h
uggest.cpp
uggest.h
1311cdcb6233abde792a9d9fdd294334c9be7043 08-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Make bigram dictionary and traverse session use structure policy.

Bug: 6669677
Change-Id: I5a13290366afbb788da997b98d1c593963e92f3e
ictionary/bigram_dictionary.cpp
ictionary/binary_format.h
olicy/dictionary_structure_policy.h
ession/dic_traverse_session.cpp
5b03213db13c670e37b15b8c813c91ebb232ead9 05-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Remove flags from dicNodeProperties.

Bug: 6669677
Change-Id: I6f4aef8c4e4376f078ed8375394823788aa35002
icnode/dic_node.h
icnode/dic_node_properties.h
icnode/dic_node_utils.cpp
icnode/dic_node_vector.h
ictionary/terminal_attributes.h
uggest.cpp
0933353c0c8823ec5ca1dcc5cd68014b87a6e045 04-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Read version 3 dictionary header."
a829188f54c0fd2e26192d98d9e56e033d8f91aa 04-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Allow force auto commit when the top is long multiword.

Bug: 9688196
Change-Id: I73ff2cd77b932bf7307b3541ea9da3fa4afa11b4
olicy/traversal.h
uggest.cpp
9a4f7a3761684ee2122485c7ae111f6287d105d6 03-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Disable shortcut output for multi-word suggestions.

Bug: 9682742
Change-Id: I9e0a5acd9053d141e018c4653e4baf0f77aacb45
uggest.cpp
5ae8722bd52b0f70ab7cd3bd888585422bef9563 03-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Read version 3 dictionary header.

The header structure of version 3 dictionary is same as version 2.

Bug: 6669677
Change-Id: I26c8723333938fbf102de1a40f11d97444da9075
ictionary/binary_dictionary_format_utils.cpp
ictionary/binary_dictionary_format_utils.h
ictionary/binary_dictionary_header_reading_utils.cpp
ictionary/binary_dictionary_header_reading_utils.h
07718a5e7d31fee7aa9bcddda38ce04fabf6c5ac 02-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Fix: Reading invalid dictionary position."
f6aa9e9a1d8e98b00a53f18359153d1e487efe57 02-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Fix: Reading invalid dictionary position.

Bug: 6669677

Change-Id: I3f4078aaa8cf72f3b366e7851457e9c753c0102f
ictionary/terminal_attributes.h
21648562050af77147c5ffd1b111de8906c66697 02-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Move children filtering methods to DicNodeChildrenFilter."
b6f5d3e39d1f3073c4e7d75e9d4309112879dc6e 01-Jul-2013 Jean Chalard <jchalard@google.com> Fix offdevice compilation

Change-Id: I8bccccbc51b308fddfbbc990f7bfe1c490259372
ictionary/binary_dictionary_info.h
7eba0198c0344ce7aac9867711d7944811dd3ad5 27-Jun-2013 Jean Chalard <jchalard@google.com> Dump binary dictionary information when opening

Bug: 9459517
Change-Id: I122583e734936ae0284e1c7500c6c9242bc7973b
icnode/dic_node.h
ictionary/binary_dictionary_header.h
ictionary/binary_dictionary_header_reading_utils.cpp
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
ictionary/dictionary.h
109ba3ace3815a7650a9fb0485b187968ddf8c29 01-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Regenerate old version dictionaries using new format."
a62b5b22eff2c1842fe1e0a4ea949e1e004de40b 01-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Regenerate old version dictionaries using new format.

Bug: 9617181
Change-Id: I228a3eac959f81b38e4092015e8e3c429d46fa60
ictionary/binary_dictionary_format_utils.cpp
ictionary/binary_dictionary_format_utils.h
ictionary/binary_dictionary_header_reading_utils.cpp
ictionary/binary_dictionary_header_reading_utils.h
7a06a792871c38517264fcb63b80a9c09bfe4766 01-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Move children filtering methods to DicNodeChildrenFilter.

Bug: 6669677
Change-Id: If18055e2da8dd5d783942ba384d3ea1d97030e3a
icnode/dic_node_proximity_filter.h
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
ayout/proximity_info_utils.h
c5e6efafff56c57c5527fe64dddb851df0719634 28-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Introduce patriciaTrie to abstract traversing version 2 dictionary.

Bug: 6669677
Change-Id: Ifef72f3d7a7ba67c5232b98c7835485d72d7322d
icnode/dic_node_utils.cpp
ictionary/bigram_dictionary.cpp
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
d9e08beebf1bf7cfb45173a8140b9eaf62ba1319 27-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Add DictionaryStructure as a policy."
68e7edfd99cc5b2c72a6a8887cd345011f4625a1 26-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Use NOT_A_DICT_POS instead of 0 to express not valid ditctionary position.

Bug: 6669677
Change-Id: I4bf2284f8221a0a2ae4534b4a06b0e59c420a5f9
icnode/dic_node.h
icnode/dic_node_utils.cpp
e394abab60f9b558acb9ae125666b0d557c8f027 26-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Add DictionaryStructure as a policy.

Bug: 6669677
Change-Id: I4cc53e623824e57c1e9a351eb0befe9ee988706f
olicy/dictionary_structure_policy.h
c96b56a5ec5a9a2cf53ca730d2a90cdd7b36fdd7 27-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Reduce the number of arguments required to initialize dic_node."
c44536973208bebf1fdd2e4d13e947eb541678d7 26-Jun-2013 Ken Wakasa <kwakasa@google.com> Fix class names

Change-Id: Ib3e15bdf46585976aa5b42132805754fc2e2908b
ictionary/binary_dictionary_format_utils.cpp
ictionary/binary_dictionary_format_utils.h
ictionary/binary_dictionary_header.cpp
ictionary/binary_dictionary_header.h
ictionary/binary_dictionary_header_reading_utils.cpp
ictionary/binary_dictionary_header_reading_utils.h
ictionary/binary_dictionary_info.h
6379a4de29fee7019b32b93bc424eda720e02dcf 26-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Reduce the number of arguments required to initialize dic_node.

Bug: 6669677

Change-Id: I52249b83f72560d8f5ab028da5cfb5c50f6e40b8
icnode/dic_node.h
icnode/dic_node_properties.h
icnode/dic_node_state.h
icnode/dic_node_state_output.h
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
icnode/dic_node_vector.h
c0d7a376e2d34e998f3791ea8b1e90d408b8e2e3 26-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Move shortcut reading methods."
5ac44bdc2aea383550b60907130f38ee2277f979 26-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Move shortcut reading methods.

Moved form BinaryFormat to BinaryDictionaryTerminalAttributesReadingUtils.

Bug: 6669677

Change-Id: Ia1ab25854effbf61df37837fe26755ac7dc4d020
ictionary/binary_dictionary_terminal_attributes_reading_utils.cpp
ictionary/binary_dictionary_terminal_attributes_reading_utils.h
ictionary/binary_format.h
ictionary/shortcut_utils.h
ictionary/terminal_attributes.h
5bf1be71629607e7206e6203489cf742d2f8ed79 25-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Add jni methods for dynamically handling a dictionary.

Bug: 6669677
Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
ictionary/bigram_dictionary.cpp
ictionary/dictionary.cpp
ictionary/dictionary.h
3b33656ce3c11e44dd0c1cf0e27a641656246945 25-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Add canBeDynamicallyUpdated() in BinaryDictionaryInfo.

Bug: 6669677
Change-Id: I7391641253b99bfcb1f9380ebee2037015e7dc14
ictionary/binary_dictionary_info.h
f3b62900c7bcb0d6434f45ec7b467b7b4bad6f9a 25-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Allow mmapping dictionary file in writable mode in openNative.

Bug: 6669677
Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
ictionary/dictionary.h
46159d5422b9fd92969f522fa51c7601d531927a 25-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Move file and mmap information form Dictionary to BinaryDictionaryInfo.

Bug: 6669677
Change-Id: I05d435e0884430f8abbbed6ea2df775005ee8622
ictionary/binary_dictionary_info.h
ictionary/dictionary.cpp
ictionary/dictionary.h
80a4b7c92e96d359e0360f85b2ed3ed128ad0f3f 24-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Extend center point vertically for bottom keys on a keyboard."
77ec8713cef76a14bf7df27a1f669711afa88f54 24-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Extend center point vertically for bottom keys on a keyboard.

Bug: 9505397
Change-Id: Ic415ac4065d23cb832dd3bb85876e2a4dc9e9fc3
ayout/proximity_info.cpp
940cca4fa946c1a461d49a50de6a2ffc8355cdd6 24-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Check adjacent proximity chars for insertion for typing"
af9d92f590a51d3e5f493c75c2bbee9d9ce1cbfc 24-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Rename BinaryDictionaryBigramsReadingUtils to BinaryDictionaryTerminalAttributesReadingUtils and remanme the class methods

Bug: 6669677
Change-Id: I960dcf51a950ead2c3d7b9dedcde0a450569cbe9
ictionary/binary_dictionary_bigrams_iterator.h
ictionary/binary_dictionary_bigrams_reading_utils.cpp
ictionary/binary_dictionary_bigrams_reading_utils.h
ictionary/binary_dictionary_terminal_attributes_reading_utils.cpp
ictionary/binary_dictionary_terminal_attributes_reading_utils.h
be2a172d4e55b784928414fbc6ee67e2368295ca 24-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Give the best score to the most probable exact match."
24706f8f5c61785006af50cc19fdd96559faa9fa 21-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Check adjacent proximity chars for insertion for typing

Change-Id: I6ce1b065bba055516fca0c8af6f14853a111aa68
ayout/proximity_info_state.h
f0dc0b1b745d78203ca68668a88278a61d0aff04 21-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Give the best score to the most probable exact match.

Bug: 9490364
Change-Id: If7fe5da190516d4b5f7a41b752ef5960205a5899
uggest.cpp
uggest.h
21dfdcdba841f8866041cb0261feac907d6e686b 21-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Add ByteArrayUtils::readSignedInt24andAdvancePosition to read dynamic dictionaries."
8a914a66e864ed5a1c787d5365b7eb36ddae6071 20-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Add ByteArrayUtils::readSignedInt24andAdvancePosition to read dynamic dictionaries.

Bug: 6669677
Change-Id: I75eeedbb50868432f6a7ff5fa63624d03e788356
ictionary/byte_array_utils.h
09858cbde49c086dd1d4d3050b57f0ea1774158b 20-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Change method name of getDepth and getTotalLength.

Change-Id: I4b3aa54e17d7de7c31f956dc9d59941d79856fd7
icnode/dic_node.h
ec7457eb7f15245a082cd81e42d08dbe39aab4cd 19-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Initialize inputStatusG at the constructor.

Bug: 9490519

Change-Id: I1806f765f7a0b5335df253b2618b40cfd17aab14
icnode/dic_node.h
2d3f2daf12643e57f15fc98c7fd61329513ca0cf 18-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Check compound distance of node and prune useless node after creating new word.

Before:
136309.89 ms
After:
73133.95 ms

Bug: 8591918

Change-Id: If029b768e2b459c0e566188bcf425f71b2df866d
uggest.cpp
6bfeeb86947eb2131408ae8bd55a7f90486feb1d 17-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Support multi words input for gesture.

Bug: 8591918

Change-Id: I344f936907a385cc6c3c8a2215a6603938483401
icnode/dic_node.h
olicy/weighting.cpp
olicy/weighting.h
0052dbda762b1871c3214a6abeb5e89f11e091cd 14-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Support keys that have uncommon width.

Bug: 8591918

Change-Id: I1e01e1560200333f9e35993af0aa7e5a17e6944f
ayout/proximity_info.cpp
ayout/proximity_info.h
ayout/proximity_info_state.cpp
ayout/proximity_info_state_utils.cpp
ayout/proximity_info_state_utils.h
1ff81e889045d35ff8420b266398e73239bd15c9 14-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Use bloom filter in multi bigram map.

Evaluated with previous word "this".
without bloom filter (use only hash_map):
Total 147792.34 (sum of others 147771.57)
with bloom filter:
Total 145900.64 (sum of others 145874.30)
always read binary dictionary:
Total 148603.14 (sum of others 148579.90)

Bug: 8592527
Change-Id: I821dc39454543826adb73b9eeeef6408fad8ae28
ictionary/bloom_filter.cpp
ictionary/bloom_filter.h
ictionary/multi_bigram_map.cpp
ictionary/multi_bigram_map.h
a71ed8caa27c4a0174f25750171282980bc26880 14-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Introduce BinaryDictionaryBigramsIterator to access bigrams attributes in binary dictionaries.

Bug: 6669677

Change-Id: Ifb1adebc5305a930c80396f6b4ec31d84400a9dc
icnode/dic_node_utils.cpp
ictionary/bigram_dictionary.cpp
ictionary/bigram_dictionary.h
ictionary/binary_dictionary_bigrams_iterator.h
ictionary/binary_dictionary_bigrams_reading_utils.cpp
ictionary/binary_dictionary_bigrams_reading_utils.h
ictionary/binary_format.h
ictionary/dictionary.cpp
ictionary/multi_bigram_map.h
527c128309da708d0fdaf7928da833320d1754e9 11-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Remove unused methods.

Bug: 8550444

Change-Id: Ie627084143846407ca36df82c2a7f904a0e6f49c
ictionary/bigram_dictionary.cpp
ictionary/bigram_dictionary.h
ictionary/binary_format.h
ictionary/probability_utils.h
ayout/proximity_info.h
ayout/proximity_info_state.cpp
ayout/proximity_info_state.h
ayout/proximity_info_state_utils.cpp
ayout/touch_position_correction_utils.h
bd0d1afdb28a28e2ddac1409208c59ba64350399 10-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Introduce BinaryDictionaryHeader to access binary dictionary header.

BinaryDictionaryHeader abstracts header structure and access header information via only its instance.

Bug: 6669677

Change-Id: Ib5ab0e8fef12265ddabc1d0165548b69953bba6a
ictionary/binary_dictionary_format.cpp
ictionary/binary_dictionary_format.h
ictionary/binary_dictionary_format_utils.cpp
ictionary/binary_dictionary_format_utils.h
ictionary/binary_dictionary_header.cpp
ictionary/binary_dictionary_header.h
ictionary/binary_dictionary_header_reading_utils.cpp
ictionary/binary_dictionary_header_reading_utils.h
ictionary/binary_dictionary_info.h
ictionary/binary_format.h
ictionary/byte_array_utils.h
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/digraph_utils.cpp
ictionary/digraph_utils.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
uggest.cpp
11dc3a371d3bc682f7307586761ae637170d3505 04-Jun-2013 Ken Wakasa <kwakasa@google.com> Clean up macro variables

Change-Id: I0d9983c1a766b97182953328fa45f488e110bc01
icnode/dic_nodes_cache.h
156d39303ed565ed64f62d9963cdbba1b0096130 03-Jun-2013 Ken Wakasa <kwakasa@google.com> Remove a bunch macros that are no longer used

bug: 8550444
Change-Id: Ib775c0bed27c499dc131c54dfaff34c5a8169276
ictionary/binary_format.h
6c4ad527dc8c90a7b67aa2454a81016881e02c96 03-Jun-2013 Satoshi Kataoka <satok@google.com> Migrate used functions in UnigramDicitonary

Bug: 8550444
Change-Id: Ic1ed2d85537cd47cf18a8373203f331abb7508f6
ictionary/dictionary.cpp
ictionary/dictionary.h
d858b5815f22ba2232b16ca0ba2a52703afffbe6 03-Jun-2013 Satoshi Kataoka <satok@google.com> Move obsolete files to obsolete dir 2

Bug: 8550444
Change-Id: Ia83796d696e04f51adb39867dfd21d1ac993b63c
ictionary/dictionary.cpp
7c92b421ee18054e43903d6794b4039357dd944a 03-Jun-2013 Satoshi Kataoka <satok@google.com> Purge DicTraverseWrapper

bug: 8550444

Change-Id: Iad017e66ac579c6727b9f60ad9cda64e478200e5
ictionary/dictionary.cpp
ictionary/dictionary.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
d18112046af044d1a13d5399087e14a0d230cfed 03-Jun-2013 Satoshi Kataoka <satok@google.com> Move bigram_dictionary

Change-Id: I2c243ac75bc02b912f6b0fabedd372148adf8076
ictionary/bigram_dictionary.cpp
ictionary/bigram_dictionary.h
ictionary/dictionary.cpp
addea83bad5751308fef508d79c6989b8872f050 02-Jun-2013 Ken Wakasa <kwakasa@google.com> Create "src/utils" directory

Change-Id: I0b7c51d181edc4786e343f7a953367b040ee6b66
icnode/dic_node.h
icnode/dic_node_utils.cpp
ictionary/binary_format.h
ictionary/char_utils.cpp
ictionary/char_utils.h
ictionary/digraph_utils.cpp
ictionary/multi_bigram_map.h
ayout/proximity_info.cpp
ayout/proximity_info.h
ayout/proximity_info_state.cpp
ayout/proximity_info_state.h
ayout/proximity_info_state_utils.h
ayout/proximity_info_utils.h
f497e1e5a0be0a6268bd5f27e6f61308c69c7b63 03-Jun-2013 Ken Wakasa <kwakasa@google.com> Move suggest_options.h to suggest/core

Change-Id: Ie95872a4c90ee3089183c1ebafb67243bd2688a4
ictionary/dictionary.cpp
uggest_options.h
712fefd85fa024259b81e50e98b18b749b9bde69 03-Jun-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Use BinaryDictonaryInfo instead of raw pointers."
0ecfb9424754341d7ee41557fc1f913cb6ca79c2 03-Jun-2013 Keisuke Kuroyanagi <ksk@google.com> Use BinaryDictonaryInfo instead of raw pointers.

Bug: 6669677

Change-Id: I9792a872f1609de7c1ba0fc08d916047d6724c0b
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
ictionary/binary_dictionary_format.cpp
ictionary/binary_dictionary_format.h
ictionary/binary_dictionary_info.h
ictionary/byte_array_utils.cpp
ictionary/byte_array_utils.h
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/multi_bigram_map.h
ictionary/terminal_attributes.h
olicy/weighting.cpp
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
uggest.cpp
88ad30f40b05128d891fd412bb684bdbdc514446 01-Jun-2013 Keisuke Kuroyanagi <ksk@google.com> Move dictionary format independent probability calculation methods to ProbabilityUtils.

Bug: 6669677
Change-Id: Idc09a2fbb04e4d843e11313011178022177616aa
icnode/dic_node_utils.cpp
ictionary/binary_format.h
ictionary/probability_utils.h
464d3ba43257da34ab165da8ba0af11e928aae5c 31-May-2013 Ken Wakasa <kwakasa@google.com> Move char_utils to the dictionary directory

Change-Id: Id397485407fe63600c9bb5c80d223042942b4d8a
icnode/dic_node.h
icnode/dic_node_utils.cpp
ictionary/binary_format.h
ictionary/char_utils.cpp
ictionary/char_utils.h
ictionary/digraph_utils.cpp
ayout/proximity_info.cpp
ayout/proximity_info_state.cpp
ayout/proximity_info_state.h
ayout/proximity_info_utils.h
olicy/weighting.cpp
uggest.cpp
f88f9dbbdec309c01feda06edc142470ba13cb2f 31-May-2013 Keisuke Kuroyanagi <ksk@google.com> Move "#define LOG_TAG" before include defines.h.

Change-Id: Iacd2c2ea3878ad2cde5df36b15e1359d10244f60
ayout/proximity_info.cpp
ayout/proximity_info_state.cpp
a65c267b1f1207e54c6f821148c600e3899b7f9c 30-May-2013 Ken Wakasa <kwakasa@google.com> Move some dictionary related implementations to the dictionary directory

Change-Id: I6fe71a540ad91ca46755be234abc8894242e2413
icnode/dic_node.cpp
icnode/dic_node.h
icnode/dic_node_priority_queue.h
icnode/dic_node_properties.h
icnode/dic_node_state.h
icnode/dic_node_state_prevword.h
icnode/dic_node_state_scoring.h
icnode/dic_node_utils.cpp
icnode/dic_node_vector.h
icnode/dic_nodes_cache.cpp
icnode/dic_nodes_cache.h
ictionary/binary_format.h
ictionary/bloom_filter.h
ictionary/dictionary.cpp
ictionary/dictionary.h
ictionary/digraph_utils.cpp
ictionary/digraph_utils.h
ictionary/multi_bigram_map.h
ictionary/shortcut_utils.h
ictionary/terminal_attributes.h
ayout/touch_position_correction_utils.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
uggest.cpp
94da44e43eac54047fb690c753d3af2a7d3a03c8 30-May-2013 Ken Wakasa <kwakasa@google.com> Move additional_proximity_chars to the layout directory

Change-Id: Ie892ea9f3199a66e9d62a92a0e1ab2dff62826c3
ayout/additional_proximity_chars.cpp
ayout/additional_proximity_chars.h
ayout/proximity_info.cpp
ayout/proximity_info_utils.h
29432f843a8cd6ffb2be286104964592e80d77c9 30-May-2013 Ken Wakasa <kwakasa@google.com> Create a new directory for layout-related implementations

Change-Id: Ia227bb296f20dab0dfc03dfcde3a06c624eca76c
icnode/dic_node_utils.cpp
ayout/geometry_utils.h
ayout/proximity_info.cpp
ayout/proximity_info.h
ayout/proximity_info_params.cpp
ayout/proximity_info_params.h
ayout/proximity_info_state.cpp
ayout/proximity_info_state.h
ayout/proximity_info_state_utils.cpp
ayout/proximity_info_state_utils.h
ayout/proximity_info_utils.h
ayout/touch_position_correction_utils.h
ession/dic_traverse_session.h
uggest.cpp
338ef65077f43d6a35665a5c8eb6a44928332547 30-May-2013 Keisuke Kuroyanagi <ksk@google.com> Make DicTraverseSession having suggest options.

Change-Id: I2b802c06634e5226c763fd838f3fc0918fc4a161
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
03f8c6aed3708539d3f5e239622ca0305ecf615e 08-May-2013 Jean Chalard <jchalard@google.com> Be careful about the dictionary size in detection methods

Bug: 8857618
Change-Id: I29345ec96d53da601571ba73197a6485643a10a7
ession/dic_traverse_session.cpp
5a346afab96186dc09aeed390b2cc70f8ec439d0 07-May-2013 Satoshi Kataoka <satok@google.com> Fix exact match profanity

Bug: 8661070

This is a revival version of I421bed14cc71af771510142365

No diff in the test

Change-Id: I96bc9cec531682cce78bcf83223dcd2395b2be77
uggest.cpp
c5a29fa864b5d7589fbbe8ddc96f2c7a0c7cee28 02-May-2013 Ken Wakasa <kwakasa@google.com> Revert "Fix exact match profanity"

This reverts commit df2eae6e69948e99618a28d087b847c70582efd8

Change-Id: I42635cc09ad3ea4c177d02e0b7607fb7aa78506c
uggest.cpp
df2eae6e69948e99618a28d087b847c70582efd8 01-May-2013 Satoshi Kataoka <satok@google.com> Fix exact match profanity

Bug: 8661070
Change-Id: I421bed14cc71af7715101423652d706e33958445
uggest.cpp
a107dcaeb6302981974bab8284f6b7943673cf11 30-Apr-2013 Keisuke Kuroynagi <ksk@google.com> Fix: Demote first char capitalized new words.

Bug: 8680578
Change-Id: I84bcdf3a20428c7561f600332bfef4685c72b67f
Signed-off-by: Keisuke Kuroynagi <ksk@google.com>
icnode/dic_node.h
9559dd2e30de288a9ff7069bfc59f8500b949a88 17-Apr-2013 Tom Ouyang <ouyang@google.com> Improve bigram frequency lookup

Bug: 8592527

Change-Id: I1908bcb552279b9acb140fe4d8d26b10ed9eda72
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
olicy/weighting.cpp
olicy/weighting.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
uggest.cpp
866a6ced571a24f0f1b927aeccad7a1969da23b7 26-Apr-2013 Ken Wakasa <kwakasa@google.com> Just cosmetic cleanups

Change-Id: I3dc8a4bb3f89f4a18cfffd5f13a71503738452e6
icnode/dic_node_utils.cpp
olicy/scoring.h
olicy/suggest_policy.h
olicy/traversal.h
olicy/weighting.cpp
fd02ec10f0a0374096e88fa30a0e126d6ff11c72 25-Apr-2013 Tom Ouyang <ouyang@google.com> Always consider corrections of intentional omissions (e.g., apostrophe)

Example: "thts" -> "that's"

Bug: 8721815
Change-Id: I8c1efbf651d2569ba3600516cc7447d46bf30fa4
olicy/traversal.h
uggest.cpp
99e998286d71cf698d0a809a29b15d1a231ebbb1 22-Apr-2013 Jean Chalard <jchalard@google.com> [ZF1] Check profanity in Java rather than in native

Bug: 7226877
Change-Id: Ib6c32bfee9977c27dbf7e1e590b2b00d9ceb7301
uggest.cpp
60a169f0c34bf0da89c420d99bfff5c2556f3fbf 25-Apr-2013 Keisuke Kuroynagi <ksk@google.com> Fix exact match checking for words with digraph.

Bug: 8624690
Change-Id: I8946d6618609c8e0cb638aa96992b51b435232c7
icnode/dic_node.h
icnode/dic_node_state_input.h
icnode/dic_node_state_scoring.h
olicy/weighting.cpp
olicy/weighting.h
uggest.cpp
911f326857ee083c8ee5f278f71531f182bfe0d2 24-Apr-2013 Keisuke Kuroynagi <ksk@google.com> Fix proximity/edit correction detection that affects the terminal cost.

Bug: 8624690
Change-Id: If59305674a781e0fcc284d236e3d8ba9cdf9ed08
olicy/weighting.cpp
f99f1a757b7b7f0bb6375ed7087d762b7e0bf7d1 24-Apr-2013 Tom Ouyang <ouyang@google.com> Merge "Check bigrams for lowercased previous word if original is not found"
14aa8f1d32ec70811af0b861c135c7ecd0de92a2 23-Apr-2013 Tom Ouyang <ouyang@google.com> Fix autocompletion lookahead handling

Bug: 8689370
Change-Id: I056b1788764bd5c4d8ad9da86e790562d2781f06
olicy/weighting.cpp
5fa33a701d4b8405254d3369c714702481a90e6b 19-Apr-2013 Tom Ouyang <ouyang@google.com> Check bigrams for lowercased previous word if original is not found

Bug: 8592527
Change-Id: I70c4b81263d8b2cb7050364c124589f66900cfce
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
ession/dic_traverse_session.cpp
c9688ef2679699737152ee9f1a2234280a73c1db 22-Apr-2013 Jean Chalard <jchalard@google.com> Fix a small bug

Tests results in Ibcd6c110f1d5582425f9592c42e31152131ef80c

Bug: 7226877
Change-Id: I8d03bae3264974eff7b790e27c073b0a8758d17a
icnode/dic_node.h
icnode/dic_node_properties.h
90cb956c4fd6b9aa2f5c6689448485e87061da50 17-Apr-2013 Tom Ouyang <ouyang@google.com> Remove duplicate new-word bigram cost (part 1)

Removes a duplicate application of the new word bigram cost and updates only
the related parameters (those associated with multi-word suggestions).

Note: test results will improve after full optimization.

[Category diff]
+1 357
-1 485
+2 16
-2 20
+3 20
-3 16
+4 198
-4 226
+5 510
-5 443
+6 518
-6 368
+7 394
-7 455

[Weighted category diff]
+1 482
-1 532
+2 22
-2 22
+3 22
-3 22
+4 233
-4 381
+5 578
-5 500
+6 617
-6 498
+7 522
-7 521

Bug: 8633962
Change-Id: I3c3ecc9460e8e03e44925e11b2d4b037a6c3b99e
icnode/dic_node.h
icnode/dic_node_state_scoring.h
252412d7eb4573f91588b06b0fe49ef9f0ac38ac 16-Apr-2013 Satoshi Kataoka <satok@google.com> Use additional multi-word cost per language (for Russian)

Bug: 7540133
Change-Id: I7eb7b8399746c15452ed2ed5069955e88fb546d3
olicy/weighting.cpp
olicy/weighting.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
uggest.cpp
uggest.h
837f46dcb35a8f42a6bd5bc5fc6395d7386acb81 10-Apr-2013 Satoshi Kataoka <satok@google.com> Enable touch coordinate correction for new algorithm

Bug: 8505668

Change-Id: I07eb785c74c446777524104a3d2b61f0f591a498
ession/dic_traverse_session.h
a94bb198cf13a3729bb992fc9c5bfce779e58469 14-Apr-2013 Satoshi Kataoka <satok@google.com> fix assertion

Change-Id: I34ff470122aa0f34c66425d2eeae7590187d3074
ession/dic_traverse_session.h
2daea19709cd6c9d844d9ad77076256e2f3967ad 12-Apr-2013 Ken Wakasa <kwakasa@google.com> am 47bb8d7d: am 4fffa27d: Fix a native crash in AOSP LatinIME

* commit '47bb8d7d9cd2dcc8e80f90283e4d9b7d4f68e70b':
Fix a native crash in AOSP LatinIME
4fffa27d3f620135f61b7dfb447ab3bf2b2367f5 11-Apr-2013 Ken Wakasa <kwakasa@google.com> Fix a native crash in AOSP LatinIME

bug: 8597610

Change-Id: I585c629636a52a1ac45b8cc686bc94427bb601df
uggest.h
8b3009ef4875e37cffbc5ccee532e4e77a34fd36 10-Apr-2013 Satoshi Kataoka <satok@google.com> add a debug flag to evaluate the most probable string

Change-Id: I34dc08c14feb9cbc0304c1d0ff06922e3b65819d
uggest.cpp
fd9f3d97aee97e9d2e5b9016ec61e120c1265b6a 06-Apr-2013 Tom Ouyang <ouyang@google.com> Add ability to handle digraphs in gesture and tap typing

Example: Gesture the German word "ueber" and the system will now replace
the transliteration "ue" with the correct u-umlaut.

Bug: 8493920
Change-Id: I03e1d6311b4187b6c7f802d8fef43a50eee12721
uggest.cpp
uggest.h
25e8eda9afb5c36703bd50b263ab0dd3a3b38d31 03-Apr-2013 Tom Ouyang <ouyang@google.com> Add mechanism to handle digraphs in DicNode

This is needed to support for German umlaut handling for both gesture and typing input.

Bug: 8493920

Change-Id: I292e2a4911c54aa5566c38411016a220bb35a1f4
icnode/dic_node.h
icnode/dic_node_state_scoring.h
43779c04a9933bd1bcba3655b314485cc08bf2c2 09-Apr-2013 Tom Ouyang <ouyang@google.com> Merge "Add method to get dictionary flags from DicTraverseSession"
a1d84bcf8ffd031c135b6f3f8c94b6732071849b 09-Apr-2013 Satoshi Kataoka <satok@google.com> Fix touch coordinate calibration

TRT: I3b5f3ed07eabc59306a17

Bug: 8505668
Change-Id: I574d25a4e9886c521f013f9a8ffc09cc145fc0fc
icnode/dic_node.h
uggest.cpp
uggest.h
ede2333640accecc066de328cb4f93e03e4bc5d7 03-Apr-2013 Tom Ouyang <ouyang@google.com> Add method to get dictionary flags from DicTraverseSession

This is needed for the traversal algorithm to know which
digraphs (if any) are associated with the current dictionary.

Bug: 8493920

Change-Id: I6ae088b55e50c0c2c7066d045b304c5068e23390
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
b68e73448104714e8f12f89a1e00fb10b5fd14c4 08-Apr-2013 Ken Wakasa <kwakasa@google.com> Cleanup the include paths

Change-Id: Ic93d39e230170cfc9f5be6d81d42006e1a61e347
ictionary/shortcut_utils.h
olicy/traversal.h
olicy/weighting.cpp
olicy/weighting.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
uggest.cpp
uggest.h
e67ede12ec44e998a157e08487f8d6ff8f467880 04-Apr-2013 Satoshi Kataoka <satok@google.com> Cleanup suggest interface

Change-Id: Ibe334a1d3ab3af69acfa64412c80f0ea24cd2c46
uggest_interface.h
95fe8267955ba5bfcc3cf38383f0d13026287082 03-Apr-2013 Satoshi Kataoka <satok@google.com> Move suggest logic to AOSP

Bug: 8197301

Change-Id: I2d0ffbbc9d4d57ebfc2fe43e6cb75e8b44dae466
ictionary/shortcut_utils.h
uggest.cpp
uggest.h
3107b467c91c471ce4e00c5d8de559f7b0da2cd6 01-Apr-2013 Satoshi Kataoka <satok@google.com> Move policy and session to AOSP

Bug: 8197301
Change-Id: I742ff0d939f9ad1ee2cd8b959b6c5ee2757fd177
icnode/dic_nodes_cache.cpp
icnode/dic_nodes_cache.h
olicy/scoring.h
olicy/suggest_policy.h
olicy/traversal.h
olicy/weighting.cpp
olicy/weighting.h
ession/dic_traverse_session.cpp
ession/dic_traverse_session.h
38c26dd0bf8cd5c4511e4a02d5eeae4b3553f03a 01-Apr-2013 Satoshi Kataoka <satok@google.com> Move dicnode to AOSP

Bug: 8187060

Change-Id: I72398fa45b12683bd46d23c5ca69e6bcd5ca2b7e
icnode/dic_node.cpp
icnode/dic_node.h
icnode/dic_node_priority_queue.h
icnode/dic_node_profiler.h
icnode/dic_node_properties.h
icnode/dic_node_release_listener.h
icnode/dic_node_state.h
icnode/dic_node_state_input.h
icnode/dic_node_state_output.h
icnode/dic_node_state_prevword.h
icnode/dic_node_state_scoring.h
icnode/dic_node_utils.cpp
icnode/dic_node_utils.h
icnode/dic_node_vector.h