OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:WordAttributes
(Results
1 - 16
of
16
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
word_attributes.h
22
class
WordAttributes
{
25
WordAttributes
()
29
WordAttributes
(const int probability, const bool isBlacklisted, const bool isNotAWord,
59
DISALLOW_ASSIGNMENT_OPERATOR(
WordAttributes
);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
suggestions_output_utils.h
39
const DicNode *const terminalDicNode, const
WordAttributes
wordAttributes
,
suggestions_output_utils.cpp
81
const
WordAttributes
wordAttributes
, const bool isLastWord) {
89
wordAttributes
.isPossiblyOffensive();
139
const
WordAttributes
wordAttributes
= traverseSession->getDictionaryStructurePolicy()
151
(
wordAttributes
.isPossiblyOffensive() ? Dictionary::KIND_FLAG_POSSIBLY_OFFENSIVE : 0)
158
const bool isValidWord = !(
wordAttributes
.isBlacklisted() ||
wordAttributes
.isNotAWord());
161
terminalDicNode,
wordAttributes
, true /* isLastWord */);
169
boostExactMatches,
wordAttributes
.getProbability() == 0)
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_patricia_trie_policy.h
94
const
WordAttributes
getWordAttributesInContext(const WordIdArrayView prevWordIds,
173
const
WordAttributes
getWordAttributes(const int probability,
ver4_patricia_trie_policy.cpp
118
const
WordAttributes
Ver4PatriciaTriePolicy::getWordAttributesInContext(
122
return
WordAttributes
();
141
const
WordAttributes
Ver4PatriciaTriePolicy::getWordAttributes(const int probability,
143
return
WordAttributes
(probability, false /* isBlacklisted */, ptNodeParams.isNotAWord(),
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
patricia_trie_policy.h
67
const
WordAttributes
getWordAttributesInContext(const WordIdArrayView prevWordIds,
175
const
WordAttributes
getWordAttributes(const int probability,
patricia_trie_policy.cpp
293
const
WordAttributes
PatriciaTriePolicy::getWordAttributesInContext(
297
return
WordAttributes
();
317
const
WordAttributes
PatriciaTriePolicy::getWordAttributes(const int probability,
319
return
WordAttributes
(probability, false /* isBlacklisted */, ptNodeParams.isNotAWord(),
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
dictionary_structure_with_buffer_policy.h
60
virtual const
WordAttributes
getWordAttributesInContext(const WordIdArrayView prevWordIds,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
language_model_dict_content.h
117
const
WordAttributes
&
wordAttributes
, const ProbabilityEntry &probabilityEntry)
119
mWordAttributes(
wordAttributes
), mProbabilityEntry(probabilityEntry) {}
123
const
WordAttributes
&getWordAttributes() const { return mWordAttributes; }
131
const
WordAttributes
mWordAttributes;
153
const
WordAttributes
getWordAttributes(const WordIdArrayView prevWordIds, const int wordId,
language_model_dict_content.cpp
42
const
WordAttributes
LanguageModelDictContent::getWordAttributes(const WordIdArrayView prevWordIds,
61
return
WordAttributes
();
109
return
WordAttributes
(probability, unigramProbabilityEntry.isBlacklisted(),
114
return
WordAttributes
();
183
const
WordAttributes
wordAttributes
= getWordAttributes(
187
wordAttributes
, probabilityEntry);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_utils.cpp
75
const
WordAttributes
wordAttributes
= dictionaryStructurePolicy->getWordAttributesInContext(
77
if (
wordAttributes
.getProbability() == NOT_A_PROBABILITY
79
&& (
wordAttributes
.isBlacklisted() ||
wordAttributes
.isNotAWord()))) {
83
const float cost = static_cast<float>(MAX_PROBABILITY -
wordAttributes
.getProbability())
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
dictionary_utils.cpp
63
const
WordAttributes
wordAttributes
=
67
maxProbability = std::max(maxProbability,
wordAttributes
.getProbability());
dictionary.cpp
82
const
WordAttributes
wordAttributes
= mDictStructurePolicy->getWordAttributesInContext(
84
if (
wordAttributes
.getProbability() == NOT_A_PROBABILITY) {
88
wordAttributes
.getProbability());
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_patricia_trie_policy.h
69
const
WordAttributes
getWordAttributesInContext(const WordIdArrayView prevWordIds,
ver4_patricia_trie_policy.cpp
107
const
WordAttributes
Ver4PatriciaTriePolicy::getWordAttributesInContext(
111
return
WordAttributes
();
122
const
WordAttributes
wordAttributes
=
125
if (
wordAttributes
.isBlacklisted() ||
wordAttributes
.isNotAWord()) {
128
return
wordAttributes
.getProbability();
538
// TODO: Output flags in
WordAttributes
.
561
const
WordAttributes
wordAttributes
= languageModelDictContent->getWordAttributes
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
suggest.cpp
415
const
WordAttributes
wordAttributes
=
420
dicNode,
wordAttributes
, false /* isLastWord */)) {
424
if (!TRAVERSAL->isGoodToTraverseNextWord(dicNode,
wordAttributes
.getProbability())) {
Completed in 636 milliseconds