Add a method to get the flags from a binary dictionary.
This method is not used yet
Change-Id: Ic15d3d423aff2c83c712bc0aa56571d30755e663
diff --git a/native/jni/src/unigram_dictionary.cpp b/native/jni/src/unigram_dictionary.cpp
index ea10e58..06a2a6b 100644
--- a/native/jni/src/unigram_dictionary.cpp
+++ b/native/jni/src/unigram_dictionary.cpp
@@ -171,7 +171,7 @@
queuePool->clearAll();
Correction* masterCorrection = correction;
- if (REQUIRES_GERMAN_UMLAUT_PROCESSING & flags)
+ if (BinaryFormat::REQUIRES_GERMAN_UMLAUT_PROCESSING & flags)
{ // Incrementally tune the word and try all possibilities
int codesBuffer[getCodesBufferSize(codes, codesSize)];
int xCoordinatesBuffer[codesSize];
@@ -181,7 +181,7 @@
codesSize, flags, codes, codesSize, 0, codesBuffer, masterCorrection, queuePool,
GERMAN_UMLAUT_DIGRAPHS,
sizeof(GERMAN_UMLAUT_DIGRAPHS) / sizeof(GERMAN_UMLAUT_DIGRAPHS[0]));
- } else if (REQUIRES_FRENCH_LIGATURES_PROCESSING & flags) {
+ } else if (BinaryFormat::REQUIRES_FRENCH_LIGATURES_PROCESSING & flags) {
int codesBuffer[getCodesBufferSize(codes, codesSize)];
int xCoordinatesBuffer[codesSize];
int yCoordinatesBuffer[codesSize];