aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/correction.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-01-16 16:21:21 +0900
committersatok <satok@google.com>2012-01-16 17:11:17 +0900
commit6ad15fcd158de5bec18f6529b961a55e7db9007f (patch)
tree296bc353f2ef8454ad22fec3863a6c7d644711e4 /native/src/correction.h
parent327c6828a5324b152575667cad8ba55a8cc071e0 (diff)
downloadlatinime-6ad15fcd158de5bec18f6529b961a55e7db9007f.tar.gz
latinime-6ad15fcd158de5bec18f6529b961a55e7db9007f.tar.xz
latinime-6ad15fcd158de5bec18f6529b961a55e7db9007f.zip
Store suggestions for each input length for missing space algorithm etc.
Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c
Diffstat (limited to 'native/src/correction.h')
-rw-r--r--native/src/correction.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/native/src/correction.h b/native/src/correction.h
index 4012e7e82..a0fd55fd9 100644
--- a/native/src/correction.h
+++ b/native/src/correction.h
@@ -48,7 +48,6 @@ class Correction {
void checkState();
bool initProcessState(const int index);
- int getOutputIndex();
int getInputIndex();
virtual ~Correction();
@@ -115,11 +114,11 @@ class Correction {
private:
inline void incrementInputIndex();
inline void incrementOutputIndex();
- inline bool needsToTraverseAllNodes();
inline void startToTraverseAllNodes();
inline bool isQuote(const unsigned short c);
inline CorrectionType processSkipChar(
const int32_t c, const bool isTerminal, const bool inputIndexIncremented);
+ inline CorrectionType processUnrelatedCorrectionType();
inline void addCharToCurrentWord(const int32_t c);
const int TYPED_LETTER_MULTIPLIER;