Lingua::ZH::CCDICT::Storage::BerkeleyDB module can store the dictionary in BerkeleyDB files.
my $dict = Lingua::ZH::CCDICT->new( storage => 'BerkeleyDB',
work_dir => '/path/to/work/dir',
This module stores the CCDICT dictionary in a set of BerkeleyDB files. There is one file for the data and a number of other files used as indexes.
This storage implementation is quite fast and uses very little memory.
This class offers only one method not documented in the Lingua::ZH::CCDICT class.
This returns a list of the files that make up the dictionary. It does include files automatically created by BerkeleyDB for its own use.