7

I'm trying to build a command line tool to look up definitions of words, it's only a dummy app for me to practise my C++ skills.

I know there is a list of words stored at /usr/share/dict - but what I'm really looking for is the path to the New Oxford American Dictionary data, it comes bundled with the system, but I couldn't find it yet.

1

2 Answers 2

6

The dictionaries are stored in...

/Library/Dictionaries
~/Library/Dictionaries

enter image description here

1
  • 1
    Is this still accurate as of 10.14? /Library/Dictionaries and ~/Library/Dictionaries are empty. Commented Sep 25, 2018 at 3:35
7

In 10.14 (and possibly earlier), the dictionaries have moved to /System/Library/Assets/com_apple_MobileAsset_DictionaryServices_dictionaryOSX/

There is one .asset directory for each downloaded dictionary; for example, my American English dictionary is located at: /System/Library/Assets/com_apple_MobileAsset_DictionaryServices_dictionaryOSX/69b7ab1cf0f75ad16bf6662b0a77fbfd36b7941f.asset/AssetData/New\ Oxford\ American\ Dictionary.dictionary.

UPDATE In macOS 11.5, it seems to be a slightly different path: /System/Library/AssetsV2/com_apple_MobileAsset_DictionaryServices_dictionaryOSX

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .