aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/defines.h
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-10-21 12:32:03 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-10-21 12:32:03 +0000
commit4fd413b7e4826571e77ef01c08edec67e9d52d08 (patch)
tree9c1912f193c24397615f78c900696bce56dd42c6 /native/jni/src/defines.h
parent0913aaa56f03af716ff30af5aa13176bc10b4f31 (diff)
parenteb5049b28d0ab40784e05571bd5b2cf1e0de3bee (diff)
downloadlatinime-4fd413b7e4826571e77ef01c08edec67e9d52d08.tar.gz
latinime-4fd413b7e4826571e77ef01c08edec67e9d52d08.tar.xz
latinime-4fd413b7e4826571e77ef01c08edec67e9d52d08.zip
Merge "Tracking minor errors to categorize exact match."
Diffstat (limited to 'native/jni/src/defines.h')
-rw-r--r--native/jni/src/defines.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h
index 742e388e4..fbcd612b7 100644
--- a/native/jni/src/defines.h
+++ b/native/jni/src/defines.h
@@ -392,24 +392,4 @@ typedef enum {
// Create new word with space substitution
CT_NEW_WORD_SPACE_SUBSTITUTION,
} CorrectionType;
-
-// ErrorType is mainly decided by CorrectionType but it is also depending on if
-// the correction has really been performed or not.
-typedef enum {
- // Substitution, omission and transposition
- ET_EDIT_CORRECTION,
- // Proximity error
- ET_PROXIMITY_CORRECTION,
- // Completion
- ET_COMPLETION,
- // New word
- // TODO: Remove.
- // A new word error should be an edit correction error or a proximity correction error.
- ET_NEW_WORD,
- // Treat error as an intentional omission when the CorrectionType is omission and the node can
- // be intentional omission.
- ET_INTENTIONAL_OMISSION,
- // Not treated as an error. Tracked for checking exact match
- ET_NOT_AN_ERROR
-} ErrorType;
#endif // LATINIME_DEFINES_H