joint dictionary generation script initial commit