diff --git a/native/src/unigram_dictionary.cpp b/native/src/unigram_dictionary.cpp index 10aa7e296..6c2c89231 100644 --- a/native/src/unigram_dictionary.cpp +++ b/native/src/unigram_dictionary.cpp @@ -58,7 +58,7 @@ static inline unsigned int getCodesBufferSize(const int *codes, const int codesS return sizeof(*codes) * MAX_PROXIMITY_CHARS * codesSize; } -// TODO: This needs to take an const unsigned short* and not tinker with its contents +// TODO: This needs to take a const unsigned short* and not tinker with its contents static inline void addWord( unsigned short *word, int length, int frequency, WordsPriorityQueue *queue) { queue->push(frequency, word, length); diff --git a/tools/makedict/src/com/android/inputmethod/latin/PendingAttribute.java b/tools/makedict/src/com/android/inputmethod/latin/PendingAttribute.java index e50202184..cf66eef4b 100644 --- a/tools/makedict/src/com/android/inputmethod/latin/PendingAttribute.java +++ b/tools/makedict/src/com/android/inputmethod/latin/PendingAttribute.java @@ -19,7 +19,7 @@ package com.android.inputmethod.latin; /** * A not-yet-resolved attribute. * - * An attribute is either a bigram or an shortcut. + * An attribute is either a bigram or a shortcut. * All instances of this class are always immutable. */ public class PendingAttribute {