Skip to content

Instantly share code, notes, and snippets.

@soshial
Last active February 21, 2023 20:41
Show Gist options
  • Save soshial/2344f3b49050b767471e9222f5b66f77 to your computer and use it in GitHub Desktop.
Save soshial/2344f3b49050b767471e9222f5b66f77 to your computer and use it in GitHub Desktop.
AppleDict format documentation

Format types based on Dictionary-Development-Kit script:

Versions

-v "10.11" $COMPATIBLE_VERS = ["10.5" "10.6" "10.11"]

Body.data (contains HTML of word articles):

  1. multi-section or 1-section

KeyText.data (contains indexes and morpohology):

  1. Compressed (.sh: compress_heapdata=0) vs non-compressed (.sh: compress_heapdata=1). In Info.plist:
"TrieAuxiliaryDataOptions": {
    "HeapDataCompressionType": 3,
    "IDXIndexPath": "KeyText.data"
}
  1. kjshd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment