DictionaryCompiler¶
-
template<keyvi::dictionary::fsa::internal::value_store_t ValueStoreType = fsa::internal::value_store_t::KEY_ONLY>
class DictionaryCompiler¶ Dictionary Compiler
- Template Parameters:
ValueStoreType – The type of the value store to use
N – Array size for fixed size value vectors, ignored otherwise
Public Functions
-
inline explicit DictionaryCompiler(const keyvi::util::parameters_t ¶ms = keyvi::util::parameters_t())¶
Instantiate a dictionary compiler.
Note the memory limit only limits the memory used for internal buffers, memory usage for small short-lived objects and the library itself is not part of the limit.
- Parameters:
params – compiler parameters
-
inline void Compile(callback_t progress_callback = nullptr, void *user_data = nullptr)¶
Do the final compilation
-
inline void SetManifest(const std::string &manifest)¶
Set a custom manifest to be embedded into the keyvi file.
- Parameters:
manifest – as string
-
inline void SetSpecializedDictionaryProperties(const std::string &specialized_dictionary_properties)¶
Set a specialized dictionary properties.
- Parameters:
specialized_dictionary_properties – properties as string