The
dgwordlist
utility script is provided to compile the
Aspell dictionary.
To manually compile the text-based
worddat
dictionary into the binary
spelldat
dictionary, you must use the utility
script
dgwordlist
(on UNIX; on Windows, it is
dgwordlist.exe
).
The usage for
dgwordlist
is:
dgwordlist [--out <output_dir>] [--aspell <aspell_location>] [--datfiles <aspell_dat_files_location>] [--help] [--version] <dbPath>
Argument for dgwordlist |
Description |
---|---|
|
Specifies the directory where the
resulting binary
|
|
Deprecated. If you specify this flag, it is ignored. The
In previous releases, this flag specified the location
of Aspell. This parameter could also be omitted if
|
|
Specifies the input directory location
containing the spelling support files. These support files contain information
such as language and character set configuration (these files end with
|
|
Specifies a prefix path to the input
index data, including the text-based
|
|
Prints the version information and exits. |
|
Prints the command usage and exits. |
In typical operational configurations, the binary
spelldat
dictionary file created by
dgwordlist
and the
.map
and/or
.dat
files located in the
--datfiles
directory are placed in the same
directory as the indexed data prior to starting the MDEX Engine.
Example 85. Example of running dgwordlist
$ cp /usr/local/endeca/6.1.3/lib/aspell/* ./final_output $ /usr/local/endeca/6.1.3/bin/dgwordlist /usr/local/endeca/6.1.3/bin/aspell ./final_output/wine Creating "./final_output/wine-aspell.spelldat"
Related links