Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
599d8778
Commit
599d8778
authored
11 years ago
by
Satoshi Kataoka
Browse files
Options
Downloads
Patches
Plain Diff
Specify OOV for the OOV word correction
Bug: 9127749 Change-Id: I9ff0590428888afe57a009a1cbf8f008011b1544
parent
2115f63c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
native/jni/src/dictionary.h
+4
-0
4 additions, 0 deletions
native/jni/src/dictionary.h
with
4 additions
and
0 deletions
native/jni/src/dictionary.h
+
4
−
0
View file @
599d8778
...
...
@@ -41,6 +41,10 @@ class Dictionary {
static
const
int
KIND_APP_DEFINED
=
6
;
// Suggested by the application
static
const
int
KIND_SHORTCUT
=
7
;
// A shortcut
static
const
int
KIND_PREDICTION
=
8
;
// A prediction (== a suggestion with no input)
// KIND_RESUMED: A resumed suggestion (comes from a span, currently this type is used only
// in java for re-correction)
static
const
int
KIND_RESUMED
=
9
;
static
const
int
KIND_OOV_CORRECTION
=
10
;
// Most probable string correction
static
const
int
KIND_MASK_FLAGS
=
0xFFFFFF00
;
// Mask to get the flags
static
const
int
KIND_FLAG_POSSIBLY_OFFENSIVE
=
0x80000000
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment