OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:dictraversesession
(Results
1 - 19
of
19
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
weighting.h
25
class
DicTraverseSession
;
33
const
DicTraverseSession
*const traverseSession,
38
virtual float getTerminalSpatialCost(const
DicTraverseSession
*const traverseSession,
45
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode,
48
virtual bool isProximityDicNode(const
DicTraverseSession
*const traverseSession,
52
const
DicTraverseSession
*const traverseSession, const DicNode *const parentDicNode,
56
const
DicTraverseSession
*const traverseSession,
59
virtual float getNewWordSpatialCost(const
DicTraverseSession
*const traverseSession,
63
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode,
67
const
DicTraverseSession
*const traverseSession
[
all
...]
traversal.h
24
class
DicTraverseSession
;
30
virtual bool isOmission(const
DicTraverseSession
*const traverseSession,
33
virtual bool isSpaceSubstitutionTerminal(const
DicTraverseSession
*const traverseSession,
35
virtual bool isSpaceOmissionTerminal(const
DicTraverseSession
*const traverseSession,
37
virtual bool shouldDepthLevelCache(const
DicTraverseSession
*const traverseSession) const = 0;
38
virtual bool shouldNodeLevelCache(const
DicTraverseSession
*const traverseSession,
40
virtual bool canDoLookAheadCorrection(const
DicTraverseSession
*const traverseSession,
42
virtual ProximityType getProximityType(const
DicTraverseSession
*const traverseSession,
44
virtual bool sameAsTyped(const
DicTraverseSession
*const traverseSession,
51
virtual bool isPossibleOmissionChildNode(const
DicTraverseSession
*const traverseSession
[
all
...]
scoring.h
25
class
DicTraverseSession
;
32
virtual bool getMostProbableString(const
DicTraverseSession
*const traverseSession,
40
virtual float getAdjustedLanguageWeight(
DicTraverseSession
*const traverseSession,
weighting.cpp
75
const CorrectionType correctionType, const
DicTraverseSession
*const traverseSession,
104
const CorrectionType correctionType, const
DicTraverseSession
*const traverseSession,
138
const CorrectionType correctionType, const
DicTraverseSession
*const traverseSession,
/packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_DicTraverseSession.cpp
30
void *traverseSession =
DicTraverseSession
::getSessionInstance(env, localeJStr, dictSize);
36
DicTraverseSession
*ts = reinterpret_cast<
DicTraverseSession
*>(traverseSession);
39
DicTraverseSession
::initSessionInstance(
45
DicTraverseSession
::initSessionInstance(
50
DicTraverseSession
*ts = reinterpret_cast<
DicTraverseSession
*>(traverseSession);
51
DicTraverseSession
::releaseSessionInstance(ts);
73
const char *const kClassPathName = "com/android/inputmethod/latin/
DicTraverseSession
";
jni_common.cpp
50
AKLOGE("ERROR:
DicTraverseSession
native registration failed");
com_android_inputmethod_latin_BinaryDictionary.cpp
139
jlong proximityInfo, jlong
dicTraverseSession
, jintArray xCoordinatesArray,
148
DicTraverseSession
*traverseSession =
149
reinterpret_cast<
DicTraverseSession
*>(
dicTraverseSession
);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
suggest.h
36
class
DicTraverseSession
;
56
void createNextWordDicNode(
DicTraverseSession
*traverseSession, DicNode *dicNode,
58
int outputSuggestions(
DicTraverseSession
*traverseSession, int *frequencies,
62
void initializeSearch(
DicTraverseSession
*traverseSession, int commitPoint) const;
63
void expandCurrentDicNodes(
DicTraverseSession
*traverseSession) const;
64
void processTerminalDicNode(
DicTraverseSession
*traverseSession, DicNode *dicNode) const;
65
void processExpandedDicNode(
DicTraverseSession
*traverseSession, DicNode *dicNode) const;
66
void weightChildNode(
DicTraverseSession
*traverseSession, DicNode *dicNode) const;
67
float getAutocorrectScore(
DicTraverseSession
*traverseSession, DicNode *dicNode) const;
69
DicTraverseSession
*traverseSession, DicNode *dicNode, float *features) const
[
all
...]
suggest.cpp
56
DicTraverseSession
*tSession = static_cast<
DicTraverseSession
*>(traverseSession);
84
void Suggest::initializeSearch(
DicTraverseSession
*traverseSession, int commitPoint) const {
120
int Suggest::outputSuggestions(
DicTraverseSession
*traverseSession, int *frequencies,
317
void Suggest::expandCurrentDicNodes(
DicTraverseSession
*traverseSession) const {
441
DicTraverseSession
*traverseSession, DicNode *dicNode) const {
469
DicTraverseSession
*traverseSession, DicNode *dicNode) const {
484
void Suggest::processDicNodeAsMatch(
DicTraverseSession
*traverseSession,
490
void Suggest::processDicNodeAsAdditionalProximityChar(
DicTraverseSession
*traverseSession,
500
void Suggest::processDicNodeAsSubstitution(
DicTraverseSession
*traverseSession
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
dic_traverse_session.cpp
28
const int
DicTraverseSession
::DICTIONARY_SIZE_THRESHOLD_TO_USE_LARGE_CACHE_FOR_SUGGESTION =
31
void
DicTraverseSession
::init(const Dictionary *const dictionary, const int *prevWord,
52
void
DicTraverseSession
::setupForGetSuggestions(const ProximityInfo *pInfo,
62
const DictionaryStructureWithBufferPolicy *
DicTraverseSession
::getDictionaryStructurePolicy()
67
void
DicTraverseSession
::resetCache(const int thresholdForNextActiveDicNodes, const int maxWords) {
74
void
DicTraverseSession
::initializeProximityInfoStates(const int *const inputCodePoints,
dic_traverse_session.h
36
class
DicTraverseSession
{
39
// A factory method for
DicTraverseSession
44
return new
DicTraverseSession
(env, localeStr,
48
static AK_FORCE_INLINE void initSessionInstance(
DicTraverseSession
*traverseSession,
52
DicTraverseSession
*tSession = static_cast<
DicTraverseSession
*>(traverseSession);
57
static AK_FORCE_INLINE void releaseSessionInstance(
DicTraverseSession
*traverseSession) {
61
AK_FORCE_INLINE
DicTraverseSession
(JNIEnv *env, jstring localeStr, bool usesLargeCache)
71
AK_FORCE_INLINE ~
DicTraverseSession
() {}
187
DISALLOW_IMPLICIT_CONSTRUCTORS(
DicTraverseSession
);
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_scoring.h
27
class
DicTraverseSession
;
34
const
DicTraverseSession
*const traverseSession, const int terminalSize,
49
AK_FORCE_INLINE float getAdjustedLanguageWeight(
DicTraverseSession
*const traverseSession,
typing_weighting.h
39
float getTerminalSpatialCost(const
DicTraverseSession
*const traverseSession,
71
float getMatchedCost(const
DicTraverseSession
*const traverseSession,
103
bool isProximityDicNode(const
DicTraverseSession
*const traverseSession,
112
float getTranspositionCost(const
DicTraverseSession
*const traverseSession,
127
float getInsertionCost(const
DicTraverseSession
*const traverseSession,
151
float getNewWordSpatialCost(const
DicTraverseSession
*const traverseSession,
156
float getNewWordBigramLanguageCost(const
DicTraverseSession
*const traverseSession,
164
float getCompletionCost(const
DicTraverseSession
*const traverseSession,
175
float getTerminalLanguageCost(const
DicTraverseSession
*const traverseSession,
180
float getTerminalInsertionCost(const
DicTraverseSession
*const traverseSession
[
all
...]
typing_traversal.h
46
AK_FORCE_INLINE bool isOmission(const
DicTraverseSession
*const traverseSession,
76
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode) const {
90
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode) const {
108
const
DicTraverseSession
*const traverseSession) const {
114
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode) const {
119
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode) const {
125
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode,
149
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode) const {
160
const
DicTraverseSession
*const traverseSession, const DicNode *const parentDicNode,
typing_weighting.cpp
27
const
DicTraverseSession
*const traverseSession, const DicNode *const parentDicNode,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DicTraverseSession.java
23
public final class
DicTraverseSession
{
35
public
DicTraverseSession
(Locale locale, long dictionary, long dictSize) {
BinaryDictionary.java
74
private final SparseArray<
DicTraverseSession
> mDicTraverseSessions =
77
// TODO: There should be a way to remove used
DicTraverseSession
objects from
79
private
DicTraverseSession
getTraverseSession(final int traverseSessionId) {
81
DicTraverseSession
traverseSession = mDicTraverseSessions.get(traverseSessionId);
85
traverseSession = new
DicTraverseSession
(mLocale, mNativeDict, mDictSize);
358
final
DicTraverseSession
traverseSession = mDicTraverseSessions.valueAt(index);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
dictionary.h
29
class
DicTraverseSession
;
59
int getSuggestions(ProximityInfo *proximityInfo,
DicTraverseSession
*traverseSession,
dictionary.cpp
54
int Dictionary::getSuggestions(ProximityInfo *proximityInfo,
DicTraverseSession
*traverseSession,
61
DicTraverseSession
::initSessionInstance(
71
DicTraverseSession
::initSessionInstance(
Completed in 476 milliseconds