aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/defines.h
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-10-21 05:35:49 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-21 05:35:49 -0700
commit765ee2bc538ae13b80dff14157f2dd86fd37e55d (patch)
tree9c1912f193c24397615f78c900696bce56dd42c6 /native/jni/src/defines.h
parent9d74cb96608c0b65d7278ed1649f4d643585396a (diff)
parent4fd413b7e4826571e77ef01c08edec67e9d52d08 (diff)
downloadlatinime-765ee2bc538ae13b80dff14157f2dd86fd37e55d.tar.gz
latinime-765ee2bc538ae13b80dff14157f2dd86fd37e55d.tar.xz
latinime-765ee2bc538ae13b80dff14157f2dd86fd37e55d.zip
am 4fd413b7: Merge "Tracking minor errors to categorize exact match."
* commit '4fd413b7e4826571e77ef01c08edec67e9d52d08': 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