def parse_brief(brief):
    sentences = None
    if args.news:
        sentences = json.loads(requests.get(('https://corpus.vocabulary.com/api/1.0/examples.json?maxResults=5&query=' + args.word)).text)['result']['sentences']
    word = ((WORD_COLOR + brief['wordOut']) + ': ')
    if ('relation' in brief['lemma']):
        word += (TEXT_COLOR + ('%s为%s的%s' % (brief['wordOut'], brief['lemma']['lemma'], brief['lemma']['relation'])))
    print(word)
    pron = ''
    if ('usPron' in brief):
        pron += (((HINT_COLOR + '    美音 ') + TEXT_COLOR) + ('/%s/' % brief['usPron']['ps']))
    if ('ukPron' in brief):
        pron += (((HINT_COLOR + '    英音 ') + TEXT_COLOR) + ('/%s/' % brief['ukPron']['ps']))
    if pron:
        print(pron)
    if ('chnDefinitions' in brief):
        print((SECTION_COLOR + '中文释义'))
        for chn_def in brief['chnDefinitions']:
            if ('pos' in chn_def):
                print((((('    ' + HINT_COLOR) + chn_def['pos'].ljust(8)) + TEXT_COLOR) + chn_def['meaning']))
            else:
                print(((('    ' + ''.ljust(8)) + TEXT_COLOR) + chn_def['meaning']))
    if ('engDefinitions' in brief):
        print((SECTION_COLOR + '英文释义'))
        for eng_def in brief['engDefinitions']:
            if ('pos' in eng_def):
                print((((('    ' + HINT_COLOR) + eng_def['pos'].ljust(8)) + TEXT_COLOR) + eng_def['meaning']))
            else:
                print(((('    ' + ''.ljust(8)) + TEXT_COLOR) + eng_def['meaning']))
    if sentences:
        print((SECTION_COLOR + '新闻例句'))
        for (i, sentence) in enumerate(sentences):
            print(TEXT_COLOR, ((''.ljust(4) + (str((i + 1)) + '.').ljust(3)) + sentence['sentence']))
            print(SOURCE_COLOR, (((''.ljust(7) + sentence['volume']['corpus']['name']) + ''.ljust(4)) + arrow.get(sentence['volume']['dateAdded']).format('MMM DD, YYYY')))
def parse_brief(brief):
    sentences = None
    if args.news:
        sentences = json.loads(requests.get(('https://corpus.vocabulary.com/api/1.0/examples.json?maxResults=5&query=' + args.word)).text)['result']['sentences']
    word = ((WORD_COLOR + brief['wordOut']) + ': ')
    if ('relation' in brief['lemma']):
        word += (TEXT_COLOR + ('%s为%s的%s' % (brief['wordOut'], brief['lemma']['lemma'], brief['lemma']['relation'])))
    print(word)
    pron = 
    if ('usPron' in brief):
        pron += (((HINT_COLOR + '    美音 ') + TEXT_COLOR) + ('/%s/' % brief['usPron']['ps']))
    if ('ukPron' in brief):
        pron += (((HINT_COLOR + '    英音 ') + TEXT_COLOR) + ('/%s/' % brief['ukPron']['ps']))
    if pron:
        print(pron)
    if ('chnDefinitions' in brief):
        print((SECTION_COLOR + '中文释义'))
        for chn_def in brief['chnDefinitions']:
            if ('pos' in chn_def):
                print((((('    ' + HINT_COLOR) + chn_def['pos'].ljust(8)) + TEXT_COLOR) + chn_def['meaning']))
            else:
                print(((('    ' + .ljust(8)) + TEXT_COLOR) + chn_def['meaning']))
    if ('engDefinitions' in brief):
        print((SECTION_COLOR + '英文释义'))
        for eng_def in brief['engDefinitions']:
            if ('pos' in eng_def):
                print((((('    ' + HINT_COLOR) + eng_def['pos'].ljust(8)) + TEXT_COLOR) + eng_def['meaning']))
            else:
                print(((('    ' + .ljust(8)) + TEXT_COLOR) + eng_def['meaning']))
    if sentences:
        print((SECTION_COLOR + '新闻例句'))
        for (i, sentence) in enumerate(sentences):
            print(TEXT_COLOR, ((.ljust(4) + (str((i + 1)) + '.').ljust(3)) + sentence['sentence']))
            print(SOURCE_COLOR, (((.ljust(7) + sentence['volume']['corpus']['name']) + .ljust(4)) + arrow.get(sentence['volume']['dateAdded']).format('MMM DD, YYYY')))