Writing Custom Dictionaries - o99o99/vocabulous GitHub Wiki

  1. Create a file in the same directory as this program. You can create it in another directory if you really want to, but you will have to enter the full file path below.

    Make the file in notepad, and save it as either .txt or
    .vocab
    
  2. Add your vocab. Make sure there is a new word each line. Do not leave empty lines, and do not have more than one word per line. You may have 1 OR 2 definitions per word. Any more than this will not work

    It should be in the following format:
    
        word:definition
        word:definition,definition2
        word:definition
    

Note that "word" can be anything at all, but the definitions must be strictly formatted. To answer a question correctly, you must type EXACTLY what you put for "definition" or (if applicable) "definition2".

  1. Do not leave a space either side of the colon and (if applicable) the comma. You may leave a space where necessary if the definition consists of two words.

  2. If you enter a word on two separate lines, the program will overwrite the first one with the second.

  3. The program is case sensitive. Only capitalise definitions that should be capitalised.

  4. Be careful when saving the file. Only ANSI and UTF-8 .txt formats are supported. Words with foreign characters will not appear at all using ANSI, and foreign characters will not render in other encoding formats.

  5. If you want to change the default dictionary, edit the first line of this code in the Python IDLE.