UsageΒΆ
The CLI command to generate a json or csv from a dictionary file is:
Examples:
dictionary-parser input.txt out/ --letters=a-c --format=json --case=lower
dictionary-parser input.txt out/ --letters=a,c,f --merge --case=upper
Options:
--letters: Filter by first letter. Supports: -aβ words starting with A (single letter option) -a-cβ words starting with A, B, or C (inclusive option) -a,c,fβ words starting with A, C, or F (exclusive option)--format: Output format (jsonorcsv)--case: Word casing:lower,upper, ornochange--merge: Merge all output into one file--metadata: Include metadata in the output:local_indexorlength--use_local_index: use local index for lookups--sort: Sort output by word alphabetically--help: Show help message