Searched refs:binaryDictionary (Results 1 – 5 of 5) sorted by relevance
123 BinaryDictionary binaryDictionary = getBinaryDictionary(dictFile); in testIsValidDictionary() local125 binaryDictionary.isValidDictionary()); in testIsValidDictionary()126 binaryDictionary.close(); in testIsValidDictionary()128 binaryDictionary.isValidDictionary()); in testIsValidDictionary()130 binaryDictionary = getBinaryDictionary(dictFile); in testIsValidDictionary()132 binaryDictionary.isValidDictionary()); in testIsValidDictionary()133 binaryDictionary.close(); in testIsValidDictionary()141 final BinaryDictionary binaryDictionary = new BinaryDictionary(dictFile.getAbsolutePath(), in testConstructingDictionaryOnMemory() local144 assertTrue(binaryDictionary.isValidDictionary()); in testConstructingDictionaryOnMemory()145 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()
615 final BinaryDictionary binaryDictionary = new BinaryDictionary(file.getAbsolutePath(),619 final WordProperty wordProperty = binaryDictionary.getWordProperty(word,640 final BinaryDictionary binaryDictionary = new BinaryDictionary(file.getAbsolutePath(),659 binaryDictionary.getNextWordProperty(token);
57 final BinaryDictionary binaryDictionary = new BinaryDictionary( in getHeaderWithOffsetAndLength() local61 final DictionaryHeader header = binaryDictionary.getHeader(); in getHeaderWithOffsetAndLength()62 binaryDictionary.close(); in getHeaderWithOffsetAndLength()