OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:historicalInfo
(Results
1 - 8
of
8
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
probability_dict_content.cpp
54
const
HistoricalInfo
historicalInfo
(timestamp, level, count + level);
55
return ProbabilityEntry(flags, probability, &
historicalInfo
);
148
const
HistoricalInfo
*const
historicalInfo
= probabilityEntry->getHistoricalInfo();
149
if (!bufferToWrite->writeUintAndAdvancePosition(
historicalInfo
->getTimestamp(),
154
if (!bufferToWrite->writeUintAndAdvancePosition(
historicalInfo
->getLevel(),
159
if (!bufferToWrite->writeUintAndAdvancePosition(
historicalInfo
->getCount(),
bigram_dict_content.cpp
70
const
HistoricalInfo
historicalInfo
(timestamp, level, count);
71
return BigramEntry(hasNext, probability, &
historicalInfo
, targetTerminalId);
87
const
HistoricalInfo
*const
historicalInfo
= bigramEntryToWrite->getHistoricalInfo();
88
if (!bigramListBuffer->writeUintAndAdvancePosition(
historicalInfo
->getTimestamp(),
91
historicalInfo
->getTimestamp());
94
if (!bigramListBuffer->writeUintAndAdvancePosition(
historicalInfo
->getLevel(),
97
historicalInfo
->getLevel());
100
if (!bigramListBuffer->writeUintAndAdvancePosition(
historicalInfo
->getCount()
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/utils/
jni_data_utils.cpp
42
const
HistoricalInfo
&
historicalInfo
= unigramProperty.getHistoricalInfo();
43
int probabilityInfo[] = {unigramProperty.getProbability(),
historicalInfo
.getTimestamp(),
44
historicalInfo
.getLevel(),
historicalInfo
.getCount()};
86
const
HistoricalInfo
&ngramHistoricalInfo = ngramProperty.getHistoricalInfo();
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
ver4_bigram_list_policy.cpp
193
const
HistoricalInfo
historicalInfo
= ForgettingCurveUtils::createHistoricalInfoToSave(
195
if (ForgettingCurveUtils::needsToKeep(&
historicalInfo
, mHeaderPolicy)) {
197
bigramEntry.updateHistoricalInfoAndGetEntry(&
historicalInfo
);
270
const
HistoricalInfo
&historicalInfoForUpdate = ngramProperty->getHistoricalInfo();
271
const
HistoricalInfo
updatedHistoricalInfo =
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_patricia_trie_node_writer.cpp
173
const
HistoricalInfo
historicalInfo
= ForgettingCurveUtils::createHistoricalInfoToSave(
176
originalProbabilityEntry.createEntryWithUpdatedHistoricalInfo(&
historicalInfo
);
183
const bool isValid = ForgettingCurveUtils::needsToKeep(&
historicalInfo
, mHeaderPolicy);
400
const
HistoricalInfo
&historicalInfoForUpdate = unigramProperty->getHistoricalInfo();
401
const
HistoricalInfo
updatedHistoricalInfo =
433
const
HistoricalInfo
suppressedHistorycalInfo(0 /* timestamp */, 0 /* level */, 0 /* count */);
ver4_patricia_trie_policy.cpp
377
false /* isBlacklisted */, MAX_PROBABILITY /* probability */,
HistoricalInfo
());
451
const bool isValidWord, const
HistoricalInfo
historicalInfo
) {
459
false /* isNotAWord */, false /*isBlacklisted*/, probability,
historicalInfo
);
467
historicalInfo
);
561
const
HistoricalInfo
*const
historicalInfo
= probabilityEntry.getHistoricalInfo();
585
const
HistoricalInfo
*const
historicalInfo
= bigramEntry.getHistoricalInfo();
596
probability, *
historicalInfo
);
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
language_model_dict_content.cpp
75
const
HistoricalInfo
*const
historicalInfo
= probabilityEntry.getHistoricalInfo();
87
&&
historicalInfo
->getCount() == 1) {
96
historicalInfo
->getCount(), contextCount, ngramType);
101
encodedRawProbability, *
historicalInfo
);
221
const int wordId, const bool isValid, const
HistoricalInfo
historicalInfo
,
229
originalUnigramProbabilityEntry, isValid,
historicalInfo
, headerPolicy);
245
originalNgramProbabilityEntry, isValid,
historicalInfo
, headerPolicy);
263
const
HistoricalInfo
historicalInfo, const HeaderPolicy *const headerPolicy) const
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_patricia_trie_policy.cpp
308
MAX_PROBABILITY /* probability */,
HistoricalInfo
());
374
const bool isValidWord, const
HistoricalInfo
historicalInfo
) {
387
NOT_A_PROBABILITY,
HistoricalInfo
(
historicalInfo
.getTimestamp(), 0 /* level */,
407
HistoricalInfo
(
historicalInfo
.getTimestamp(), 0 /* level */, 0 /* count */));
418
prevWordIds.skip(1 /* n */), prevWordIds[0], true /* isVaild */,
historicalInfo
,
424
wordId, updateAsAValidWord,
historicalInfo
, mHeaderPolicy, &mEntryCounters)) {
537
const
HistoricalInfo
*const historicalInfo = ngramProbabilityEntry.getHistoricalInfo()
[
all
...]
Completed in 526 milliseconds