aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/bigram_dictionary.h
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2012-01-06 12:24:38 +0900
committerKen Wakasa <kwakasa@google.com>2012-01-06 12:24:38 +0900
commite12e9b5b69e6242af61ee690a81bedde1bdd4936 (patch)
tree7079cec47f2aaa9550bbe7e59cc30286869fff6b /native/src/bigram_dictionary.h
parent3b161b2526ee7f867c887462dc826d2edc118f3d (diff)
downloadlatinime-e12e9b5b69e6242af61ee690a81bedde1bdd4936.tar.gz
latinime-e12e9b5b69e6242af61ee690a81bedde1bdd4936.tar.xz
latinime-e12e9b5b69e6242af61ee690a81bedde1bdd4936.zip
Fix indentations.
Change-Id: I25c26e2fe50427d11d97b6204174a4f651963d24
Diffstat (limited to 'native/src/bigram_dictionary.h')
-rw-r--r--native/src/bigram_dictionary.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/bigram_dictionary.h b/native/src/bigram_dictionary.h
index c07458a38..585a1866a 100644
--- a/native/src/bigram_dictionary.h
+++ b/native/src/bigram_dictionary.h
@@ -21,14 +21,14 @@ namespace latinime {
class Dictionary;
class BigramDictionary {
-public:
+ public:
BigramDictionary(const unsigned char *dict, int maxWordLength, int maxAlternatives,
const bool isLatestDictVersion, const bool hasBigram, Dictionary *parentDictionary);
int getBigrams(unsigned short *word, int length, int *codes, int codesSize,
unsigned short *outWords, int *frequencies, int maxWordLength, int maxBigrams,
int maxAlternatives);
~BigramDictionary();
-private:
+ private:
bool addWordBigram(unsigned short *word, int length, int frequency);
int getBigramAddress(int *pos, bool advance);
int getBigramFreq(int *pos);