OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DicTraverseSession
(Results
1 - 14
of
14
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
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
...]
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 getNewWordCost(const
DicTraverseSession
*const traverseSession,
63
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode,
67
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
73
const CorrectionType correctionType, const
DicTraverseSession
*const traverseSession,
97
const CorrectionType correctionType, const
DicTraverseSession
*const traverseSession,
129
const CorrectionType correctionType, const
DicTraverseSession
*const traverseSession,
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
suggest.h
36
class
DicTraverseSession
;
55
void createNextWordDicNode(
DicTraverseSession
*traverseSession, DicNode *dicNode,
57
int outputSuggestions(
DicTraverseSession
*traverseSession, int *frequencies,
59
void initializeSearch(
DicTraverseSession
*traverseSession, int commitPoint) const;
60
void expandCurrentDicNodes(
DicTraverseSession
*traverseSession) const;
61
void processTerminalDicNode(
DicTraverseSession
*traverseSession, DicNode *dicNode) const;
62
void processExpandedDicNode(
DicTraverseSession
*traverseSession, DicNode *dicNode) const;
63
void weightChildNode(
DicTraverseSession
*traverseSession, DicNode *dicNode) const;
64
float getAutocorrectScore(
DicTraverseSession
*traverseSession, DicNode *dicNode) const;
66
DicTraverseSession
*traverseSession, DicNode *dicNode, float *features) const
[
all
...]
suggest.cpp
56
DicTraverseSession
*tSession = static_cast<
DicTraverseSession
*>(traverseSession);
83
void Suggest::initializeSearch(
DicTraverseSession
*traverseSession, int commitPoint) const {
118
int Suggest::outputSuggestions(
DicTraverseSession
*traverseSession, int *frequencies,
226
void Suggest::expandCurrentDicNodes(
DicTraverseSession
*traverseSession) const {
348
DicTraverseSession
*traverseSession, DicNode *dicNode) const {
376
DicTraverseSession
*traverseSession, DicNode *dicNode) const {
391
void Suggest::processDicNodeAsMatch(
DicTraverseSession
*traverseSession,
397
void Suggest::processDicNodeAsAdditionalProximityChar(
DicTraverseSession
*traverseSession,
407
void Suggest::processDicNodeAsSubstitution(
DicTraverseSession
*traverseSession
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
dic_traverse_session.cpp
28
const int
DicTraverseSession
::CACHE_START_INPUT_LENGTH_THRESHOLD = 20;
30
// A factory method for
DicTraverseSession
32
return new
DicTraverseSession
(env, localeStr);
35
// TODO: Pass "
DicTraverseSession
*traverseSession" when the source code structure settles down.
39
DicTraverseSession
*tSession = static_cast<
DicTraverseSession
*>(traverseSession);
44
// TODO: Pass "
DicTraverseSession
*traverseSession" when the source code structure settles down.
46
delete static_cast<
DicTraverseSession
*>(traverseSession);
64
void
DicTraverseSession
::init(const Dictionary *const dictionary, const int *prevWord,
84
void
DicTraverseSession
::setupForGetSuggestions(const ProximityInfo *pInfo
[
all
...]
dic_traverse_session.h
34
class
DicTraverseSession
{
36
AK_FORCE_INLINE
DicTraverseSession
(JNIEnv *env, jstring localeStr)
46
AK_FORCE_INLINE ~
DicTraverseSession
() {}
160
DISALLOW_IMPLICIT_CONSTRUCTORS(
DicTraverseSession
);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_traversal.h
45
AK_FORCE_INLINE bool isOmission(const
DicTraverseSession
*const traverseSession,
75
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode) const {
89
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode) const {
107
const
DicTraverseSession
*const traverseSession) const {
113
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode) const {
118
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode) const {
124
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode,
148
const
DicTraverseSession
*const traverseSession, const DicNode *const dicNode) const {
158
const
DicTraverseSession
*const traverseSession, const DicNode *const parentDicNode,
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
38
float getTerminalSpatialCost(const
DicTraverseSession
*const traverseSession,
70
float getMatchedCost(const
DicTraverseSession
*const traverseSession,
98
bool isProximityDicNode(const
DicTraverseSession
*const traverseSession,
107
float getTranspositionCost(const
DicTraverseSession
*const traverseSession,
122
float getInsertionCost(const
DicTraverseSession
*const traverseSession,
140
float getNewWordCost(const
DicTraverseSession
*const traverseSession,
145
float getNewWordBigramCost(const
DicTraverseSession
*const traverseSession,
152
float getCompletionCost(const
DicTraverseSession
*const traverseSession,
163
float getTerminalLanguageCost(const
DicTraverseSession
*const traverseSession,
182
AK_FORCE_INLINE float getSpaceSubstitutionCost(const
DicTraverseSession
*const traverseSession
[
all
...]
typing_weighting.cpp
27
const
DicTraverseSession
*const traverseSession, const DicNode *const parentDicNode,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DicTraverseSession.java
21
public final class
DicTraverseSession
{
33
public
DicTraverseSession
(Locale locale, long dictionary) {
BinaryDictionary.java
50
private final SparseArray<
DicTraverseSession
> mDicTraverseSessions =
53
// TODO: There should be a way to remove used
DicTraverseSession
objects from
55
private
DicTraverseSession
getTraverseSession(final int traverseSessionId) {
57
DicTraverseSession
traverseSession = mDicTraverseSessions.get(traverseSessionId);
61
traverseSession = new
DicTraverseSession
(mLocale, mNativeDict);
217
final
DicTraverseSession
traverseSession = mDicTraverseSessions.valueAt(index);
Completed in 458 milliseconds