pub fn load_dictionary_from_file<P: AsRef<Path>>(
content_path: P,
index_path: P,
) -> Result<Dictionary, DictError>Expand description
Load dictionary from given paths
A dictionary is made of an index and a dictionary (data) file, both are opened from the given
input file names. Gzipped files with the suffix .dz will be handled automatically.