OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:bigramEntry
(Results
1 - 4
of
4
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
ver4_bigram_list_policy.cpp
41
const
BigramEntry
bigramEntry
=
46
bigramEntry
.getTargetTerminalId());
49
if (
bigramEntry
.hasHistoricalInfo()) {
51
ForgettingCurveUtils::decodeProbability(
bigramEntry
.getHistoricalInfo(),
54
*outProbability =
bigramEntry
.getProbability();
58
*outHasNext =
bigramEntry
.hasNext();
79
const
BigramEntry
newBigramEntry(false /* hasNext */, NOT_A_PROBABILITY,
81
const
BigramEntry
bigramEntryToWrite = createUpdatedBigramEntryFrom(&newBigramEntry,
112
const
BigramEntry
newBigramEntry(false /* hasNext */, NOT_A_PROBABILITY
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
bigram_dict_content.cpp
32
const
BigramEntry
BigramDictContent::getBigramEntryAndAdvancePosition(
41
return
BigramEntry
(false /* hasNext */, NOT_A_PROBABILITY,
71
return
BigramEntry
(hasNext, probability, &historicalInfo, targetTerminalId);
73
return
BigramEntry
(hasNext, probability, targetTerminalId);
78
const
BigramEntry
*const bigramEntryToWrite, int *const entryWritingPos) {
133
const
BigramEntry
bigramEntry
= getBigramEntryAndAdvancePosition(&readingPos);
134
hasNext =
bigramEntry
.hasNext();
138
if (!writeBigramEntryAndAdvancePosition(&
bigramEntry
, &writingPos)) {
191
const
BigramEntry
originalBigramEntry
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_patricia_trie_writing_helper.cpp
258
const
BigramEntry
bigramEntry
=
260
hasNext =
bigramEntry
.hasNext();
261
if (!
bigramEntry
.isValid()) {
264
const int probability =
bigramEntry
.hasHistoricalInfo() ?
266
bigramEntry
.getHistoricalInfo(), mBuffers->getHeaderPolicy()) :
267
bigramEntry
.getProbability();
269
bigramEntry
.getHistoricalInfo()->getTimestamp()));
276
const
BigramEntry
bigramEntry
= bigramDictContent->getBigramEntry(entryPos)
[
all
...]
ver4_patricia_trie_policy.cpp
573
const
BigramEntry
bigramEntry
=
575
hasNext =
bigramEntry
.hasNext();
576
const int word1TerminalId =
bigramEntry
.getTargetTerminalId();
585
const HistoricalInfo *const historicalInfo =
bigramEntry
.getHistoricalInfo();
586
const int rawBigramProbability =
bigramEntry
.hasHistoricalInfo()
588
bigramEntry
.getHistoricalInfo(), mHeaderPolicy)
589
:
bigramEntry
.getProbability();
Completed in 467 milliseconds