def main():
  lang_data = _get_lang_data()
  print
  print '--------'

  langs_without_scripts = _langs_with_no_scripts(lang_data)
  if langs_without_scripts:
    print 'langs without scripts: ' + ', '.join(sorted(langs_without_scripts))
    _remove_keys_from_dict(langs_without_scripts, lang_data)
    print

  print 'lang data'
  for k in sorted(lang_data):
    used, unused = lang_data[k]
    used_msg = 'used: ' + ', '.join(sorted(used)) if used else None
    unused_msg = 'unused: ' + ', '.join(sorted(unused)) if unused else None
    msg = '; '.join([m for m in (used_msg, unused_msg) if m])
    print k, msg

  print
  print 'lang_script to names'
  lang_script_to_names = _get_lang_script_to_names()
  for t in sorted(lang_script_to_names.iteritems()):
    print '%s: %s' % t

  print
  print 'script to default lang'
  script_to_default_lang = _get_script_to_default_lang()
  for t in sorted(script_to_default_lang.iteritems()):
    print '%s: %s' % t
dataset/ETHPy150Open googlei18n/nototools/nototools/lang_data.py/main/original