Searched refs:binaryDictionary (Results 1 – 4 of 4) sorted by relevance
111 BinaryDictionary binaryDictionary = getBinaryDictionary(dictFile); in testIsValidDictionary() local113 binaryDictionary.isValidDictionary()); in testIsValidDictionary()114 binaryDictionary.close(); in testIsValidDictionary()116 binaryDictionary.isValidDictionary()); in testIsValidDictionary()118 binaryDictionary = getBinaryDictionary(dictFile); in testIsValidDictionary()120 binaryDictionary.isValidDictionary()); in testIsValidDictionary()121 binaryDictionary.close(); in testIsValidDictionary()128 final BinaryDictionary binaryDictionary = new BinaryDictionary(dictFile.getAbsolutePath(), in testConstructingDictionaryOnMemory() local131 assertTrue(binaryDictionary.isValidDictionary()); in testConstructingDictionaryOnMemory()132 assertEquals(FormatSpec.VERSION403, binaryDictionary.getFormatVersion()); in testConstructingDictionaryOnMemory()[all …]
323 final BinaryDictionary binaryDictionary = getBinaryDictionary(); in removeUnigramEntryDynamically()324 if (binaryDictionary == null) { in removeUnigramEntryDynamically()328 if (!binaryDictionary.removeUnigramEntry(word)) { in removeUnigramEntryDynamically()373 final BinaryDictionary binaryDictionary = getBinaryDictionary(); in updateEntriesForWord()374 if (binaryDictionary == null) { in updateEntriesForWord()377 if (!binaryDictionary.updateEntriesForWordWithNgramContext(ngramContext, word, in updateEntriesForWord()412 final BinaryDictionary binaryDictionary = getBinaryDictionary(); in updateEntriesForInputEvents()413 if (binaryDictionary == null) { in updateEntriesForInputEvents()416 binaryDictionary.updateEntriesForInputEvents( in updateEntriesForInputEvents()610 final BinaryDictionary binaryDictionary = getBinaryDictionary(); in asyncReloadDictionary()[all …]
44 final BinaryDictionary binaryDictionary= new BinaryDictionary( in readHeader() local48 final DictionaryHeader header = binaryDictionary.getHeader(); in readHeader()49 binaryDictionary.close(); in readHeader()60 final BinaryDictionary binaryDictionary = new BinaryDictionary( in readDictionaryBinary() local71 binaryDictionary.getNextWordProperty(token); in readDictionaryBinary()74 binaryDictionary.close(); in readDictionaryBinary()101 binaryDictionary.close(); in readDictionaryBinary()
57 final BinaryDictionary binaryDictionary = new BinaryDictionary( in getHeaderWithOffsetAndLength() local61 final DictionaryHeader header = binaryDictionary.getHeader(); in getHeaderWithOffsetAndLength()62 binaryDictionary.close(); in getHeaderWithOffsetAndLength()