parent
3b161b2526
commit
e12e9b5b69
|
@ -27,7 +27,6 @@ namespace latinime {
|
|||
class ProximityInfo;
|
||||
|
||||
class Correction {
|
||||
|
||||
public:
|
||||
typedef enum {
|
||||
TRAVERSE_ALL_ON_TERMINAL,
|
||||
|
@ -95,6 +94,7 @@ public:
|
|||
inline int getTreeParentIndex(const int index) const {
|
||||
return mCorrectionStates[index].mParentIndex;
|
||||
}
|
||||
|
||||
private:
|
||||
inline void incrementInputIndex();
|
||||
inline void incrementOutputIndex();
|
||||
|
|
|
@ -28,9 +28,7 @@
|
|||
namespace latinime {
|
||||
|
||||
class UnigramDictionary {
|
||||
|
||||
public:
|
||||
|
||||
// Mask and flags for children address type selection.
|
||||
static const int MASK_GROUP_ADDRESS_TYPE = 0xC0;
|
||||
static const int FLAG_GROUP_ADDRESS_TYPE_NOADDRESS = 0x00;
|
||||
|
@ -84,7 +82,6 @@ public:
|
|||
virtual ~UnigramDictionary();
|
||||
|
||||
private:
|
||||
|
||||
void getWordSuggestions(ProximityInfo *proximityInfo, const int *xcoordinates,
|
||||
const int *ycoordinates, const int *codes, const int inputLength,
|
||||
const int flags, Correction *correction, WordsPriorityQueuePool *queuePool);
|
||||
|
|
|
@ -126,6 +126,7 @@ public:
|
|||
mSuggestions.pop();
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
struct wordComparator {
|
||||
bool operator ()(SuggestedWord * left, SuggestedWord * right) {
|
||||
|
|
|
@ -43,6 +43,7 @@ public:
|
|||
WordsPriorityQueue* getSubQueue2() {
|
||||
return mSubQueue2;
|
||||
}
|
||||
|
||||
private:
|
||||
WordsPriorityQueue *mMasterQueue;
|
||||
WordsPriorityQueue *mSubQueue1;
|
||||
|
|
Loading…
Reference in New Issue