wongc7 / ontosem

OntoSem TMR and Intermediate Results Visualizer
0 stars 0 forks source link

Failing Input Data #6

Open wongc7 opened 7 years ago

wongc7 commented 7 years ago

Use this issue to report any TMR/Log data that should work but returns errors or incorrect results. Comment with the input data and error in code blocks (```). Make sure your project is up-to-date, and if the data was known working with a previous version, include that information.

Rossgm commented 7 years ago

SOLVED:

{'results': [{'TMR': {'BILL-1': {'concept': 'BILL',
                                 'from-sense': 'BILL-N1',
                                 'is-in-subtree': 'OBJECT',
                                 'preference': 1,
                                 'sent-word-ind': [0, [0]],
                                 'token': 'Bill'},
                      'DUCK-ANIMAL-1': {'concept': 'DUCK-ANIMAL',
                                        'from-sense': 'DUCK-N1',
                                        'is-in-subtree': 'OBJECT',
                                        'preference': 1,
                                        'sent-word-ind': [0, [3, 4]],
                                        'token': 'duck'}},
              'concept_counts': {'BILL': {'count': 1, 'word-info': [0, 'top']},
                                 'DUCK-ANIMAL': {'count': 1, 'word-info': [3, 'top']}},
              'words': {0: 'BILL-N1', 3: 'DUCK-N1', 4: 'ON-PREP1'}}],
 'sent-num': 1,
 'sentence': 'Bill pet the duck on its bill.',
 'timestamp': '2016-Nov-10 12:25:04'}

Produces the error:

TypeError: Cannot read property 'colors' of undefined
   at Object.module.exports.format (/root/ontosem/ontosem/tmr.js:119:56)
   at Object.module.exports.formatTMRList (/root/ontosem/ontosem/tmr.js:181:44)
   at module.exports.tmr (/root/ontosem/ontosem/routes.js:37:30)
   at Layer.handle [as handle_request] (/root/ontosem/ontosem/node_modules/express/lib/router/layer.js:95:5)
   at next (/root/ontosem/ontosem/node_modules/express/lib/router/route.js:131:13)
   at Route.dispatch (/root/ontosem/ontosem/node_modules/express/lib/router/route.js:112:3)
   at Layer.handle [as handle_request] (/root/ontosem/ontosem/node_modules/express/lib/router/layer.js:95:5)
   at /root/ontosem/ontosem/node_modules/express/lib/router/index.js:277:22
   at Function.process_params (/root/ontosem/ontosem/node_modules/express/lib/router/index.js:330:12)
   at next (/root/ontosem/ontosem/node_modules/express/lib/router/index.js:271:10)
wongc7 commented 7 years ago

Above input from @Rossgm should work now as of commit 6be3b1ae1a00e15848c0293ee53a68409160cbe9. Issue came from the new format of sent-word-ind.

Rossgm commented 7 years ago
[False,
 0,
 {'results': [{'TMR': {'HUMAN-1': {'AGENT-OF': 'MOTION-EVENT-1',
                                   'concept': 'HUMAN',
                                   'from-sense': 'YOU-N1',
                                   'is-in-subtree': 'OBJECT',
                                   'sent-word-ind': (2, 0),
                                   'token': 'You'},
                       'HUMAN-2': {'DESTINATION-OF': 'MOTION-EVENT-1',
                                   'GENDER': 'MALE',
                                   'concept': 'HUMAN',
                                   'coref': [{'alg': 'stanford',
                                              'confidence': 0.712,
                                              'sponsorIndex': (1, 1),
                                              'type': 'PronounMatch'},
                                             {'alg': 'stanford',
                                              'confidence': 0.712,
                                              'sponsorIndex': (1, 4),
                                              'type': 'PronounMatch'}],
                                   'from-sense': 'HE-N1',
                                   'is-in-subtree': 'OBJECT',
                                   'sent-word-ind': (2, 4),
                                   'token': 'him'},
                       'MODALITY-1': {'SCOPE': 'MOTION-EVENT-1',
                                      'TYPE': 'URGENCY',
                                      'VALUE': 1,
                                      'concept': 'MODALITY',
                                      'from-sense': 'IMMEDIATELY-ADV1',
                                      'sent-word-ind': (2, 5),
                                      'token': 'immediately'},
                       'MOTION-EVENT-1': {'AGENT': OrderedDict([('VALUE',
                                                                 'HUMAN-1')]),
                                          'TIME': ['FIND-ANCHOR-TIME'],
                                          'concept': 'MOTION-EVENT',
                                          'from-sense': 'GO-V2',
                                          'is-in-subtree': 'EVENT',
                                          'sent-word-ind': (2, 2),
                                          'syn-roles': ['SUBJECT'],
                                          'token': 'go'}},
               'concept_counts': {'HUMAN': {'count': 2,
                                            'word-info': [[0, 'top'],
                                                          [4, 'top']]},
                                  'MODALITY': {'count': 1,
                                               'word-info': [[5, 'top']]},
                                  'MOTION-EVENT': {'count': 1,
                                                   'word-info': [[2, 'top']]}},
               'words': {0: 'YOU-N1',
                         2: 'GO-V2',
                         4: 'HE-N1',
                         5: 'IMMEDIATELY-ADV1'}},
              {'TMR': {'ANIMAL-1': {'DESTINATION-OF': 'MOTION-EVENT-1',
                                    'GENDER': 'MALE',
                                    'concept': 'ANIMAL',
                                    'coref': [{'alg': 'stanford',
                                               'confidence': 0.712,
                                               'sponsorIndex': (1, 1),
                                               'type': 'PronounMatch'},
                                              {'alg': 'stanford',
                                               'confidence': 0.712,
                                               'sponsorIndex': (1, 4),
                                               'type': 'PronounMatch'}],
                                    'from-sense': 'HE-N2',
                                    'is-in-subtree': 'OBJECT',
                                    'sent-word-ind': (2, 4),
                                    'token': 'him'},
                       'HUMAN-1': {'AGENT-OF': 'MOTION-EVENT-1',
                                   'concept': 'HUMAN',
                                   'from-sense': 'YOU-N1',
                                   'is-in-subtree': 'OBJECT',
                                   'sent-word-ind': (2, 0),
                                   'token': 'You'},
                       'MODALITY-1': {'SCOPE': 'MOTION-EVENT-1',
                                      'TYPE': 'URGENCY',
                                      'VALUE': 1,
                                      'concept': 'MODALITY',
                                      'from-sense': 'IMMEDIATELY-ADV1',
                                      'sent-word-ind': (2, 5),
                                      'token': 'immediately'},
                       'MOTION-EVENT-1': {'AGENT': OrderedDict([('VALUE',
                                                                 'HUMAN-1')]),
                                          'TIME': ['FIND-ANCHOR-TIME'],
                                          'concept': 'MOTION-EVENT',
                                          'from-sense': 'GO-V2',
                                          'is-in-subtree': 'EVENT',
                                          'sent-word-ind': (2, 2),
                                          'syn-roles': ['SUBJECT'],
                                          'token': 'go'}},
               'concept_counts': {'ANIMAL': {'count': 1,
                                             'word-info': [[4, 'top']]},
                                  'HUMAN': {'count': 2,
                                            'word-info': [[0, 'top'],
                                                          [4, 'top']]},
                                  'MODALITY': {'count': 1,
                                               'word-info': [[5, 'top']]},
                                  'MOTION-EVENT': {'count': 1,
                                                   'word-info': [[2, 'top']]}},
               'words': {0: 'YOU-N1',
                         2: 'GO-V2',
                         4: 'HE-N2',
                         5: 'IMMEDIATELY-ADV1'}}],
  'sent-num': 2,
  'sentence': 'Fouldes is my brother.',
  'timestamp': '2016-Nov-17 11:29:37'}]

fails for the TMR viewer with the error

SyntaxError: Unexpected token F
   at Object.parse (native)
   at parseTMRContents (/root/ontosem/ontosem/intermediate.js:829:17)
   at parseLog (/root/ontosem/ontosem/intermediate.js:155:5)
   at module.exports.format (/root/ontosem/ontosem/intermediate.js:88:23)
   at module.exports.tmr (/root/ontosem/ontosem/routes.js:36:23)
   at Layer.handle [as handle_request] (/root/ontosem/ontosem/node_modules/express/lib/router/layer.js:95:5)
   at next (/root/ontosem/ontosem/node_modules/express/lib/router/route.js:131:13)
   at Route.dispatch (/root/ontosem/ontosem/node_modules/express/lib/router/route.js:112:3)
   at Layer.handle [as handle_request] (/root/ontosem/ontosem/node_modules/express/lib/router/layer.js:95:5)
   at /root/ontosem/ontosem/node_modules/express/lib/router/index.js:277:22
Rossgm commented 7 years ago

SOLVED

{'results': [{'TMR': {'BREAD-2': {'THEME-OF': 'INGEST-2',
                                  'concept': 'BREAD',
                                  'from-sense': 'BREAD-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [1, [4]],
                                  'token': 'bread'},
                      'HUMAN-2': {'AGENT-OF': 'INGEST-2',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [1, [1]],
                                  'token': 'man'},
                      'INGEST-2': {'AGENT': 'HUMAN-2',
                                   'THEME': 'BREAD-2',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'INGEST',
                                   'from-sense': 'EAT-V1',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [1, [2]],
                                   'token': 'ate'},
                      'total_preference': 3},
              'concept_counts': {'BREAD': {'count': 2, 'word-info': [[4, 'top']]},
                                 'HUMAN': {'count': 2, 'word-info': [[1, 'top']]},
                                 'INGEST': {'count': 2, 'word-info': [[2, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'EAT-V1', 4: 'BREAD-N1'}}],
 'sent-num': 1,
 'sentence': 'The man ate the bread',
 'timestamp': '2016-Nov-20 20:17:22'}

fails for the TMR viewer with the error

TypeError: Cannot read property 'words' of undefined
   at Object.module.exports.format (/root/ontosem/ontosem/tmr.js:128:39)
   at Object.module.exports.formatTMRList (/root/ontosem/ontosem/tmr.js:192:44)
   at module.exports.tmr (/root/ontosem/ontosem/routes.js:37:30)
   at Layer.handle [as handle_request] (/root/ontosem/ontosem/node_modules/express/lib/router/layer.js:95:5)
   at next (/root/ontosem/ontosem/node_modules/express/lib/router/route.js:131:13)
   at Route.dispatch (/root/ontosem/ontosem/node_modules/express/lib/router/route.js:112:3)
   at Layer.handle [as handle_request] (/root/ontosem/ontosem/node_modules/express/lib/router/layer.js:95:5)
   at /root/ontosem/ontosem/node_modules/express/lib/router/index.js:277:22
   at Function.process_params (/root/ontosem/ontosem/node_modules/express/lib/router/index.js:330:12)
   at next (/root/ontosem/ontosem/node_modules/express/lib/router/index.js:271:10)
Rossgm commented 7 years ago

NO LONGER VALID

{'results': [{'TMR': {'DOG-4': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-5',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'TAKE-5',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'EVENT-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'TAKE-5': {'AGENT': 'TAKE-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V1', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-5',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'TAKE-5',
                                 'BESIDE': 'HUMAN-5',
                                 'THEME': 'DOG-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'TAKE-5': {'AGENT': 'TAKE-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V1', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HOLD-4': {'AGENT': 'TAKE-4',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'HOLD-4',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'EVENT-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V1', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HOLD-4': {'AGENT': 'TAKE-4',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'HOLD-4',
                                 'BESIDE': 'HUMAN-5',
                                 'THEME': 'DOG-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V1', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'TAKE-4',
                                   'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'TAKE-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'SELECT-4',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'EVENT-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'TAKE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V1', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'TAKE-4',
                                   'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'TAKE-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'SELECT-4',
                                 'BESIDE': 'HUMAN-5',
                                 'THEME': 'DOG-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'TAKE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V1', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME': 'TAKE-4',
                                'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'HUMAN-4',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'EVENT-4',
                                 'THEME-OF-1': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V1', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME': 'TAKE-4',
                                'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'HUMAN-4',
                                 'BESIDE': 'HUMAN-5',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V1', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'TAKE-MEDICINE-4',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'EVENT-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'TAKE-MEDICINE-4': {'AGENT': 'TAKE-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V1', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'TAKE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'TAKE-MEDICINE-4',
                                 'BESIDE': 'HUMAN-5',
                                 'THEME': 'DOG-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'TAKE-MEDICINE-4': {'AGENT': 'TAKE-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V1', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [2]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HOLD-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'TAKE-4',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'EVENT-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'HOLD-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V2', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [2]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HOLD-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'TAKE-4',
                                 'BESIDE': 'HUMAN-5',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'HOLD-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HOLD': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V2', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [2]],
                                   'token': 'took'},
                      'ASPECT-5': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-5',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-5',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HOLD-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'HOLD-5',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'EVENT-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'HOLD-5': {'AGENT': 'HOLD-4',
                                 'SCOPE-OF': 'ASPECT-5',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V2', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [2]],
                                   'token': 'took'},
                      'ASPECT-5': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-5',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-5',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HOLD-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'HOLD-5',
                                 'BESIDE': 'HUMAN-5',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'HOLD-5': {'AGENT': 'HOLD-4',
                                 'SCOPE-OF': 'ASPECT-5',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HOLD': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V2', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [2]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HOLD-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'SELECT-4',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'EVENT-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HOLD-4',
                                   'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V2', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [2]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HOLD-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'SELECT-4',
                                 'BESIDE': 'HUMAN-5',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HOLD-4',
                                   'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HOLD': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V2', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [2]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME': 'HOLD-4',
                                'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HOLD-4': {'AGENT': 'HUMAN-4',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'EVENT-4',
                                 'THEME-OF-1': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V2', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [2]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME': 'HOLD-4',
                                'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'HOLD-4': {'AGENT': 'HUMAN-4',
                                 'BESIDE': 'HUMAN-5',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HOLD': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V2', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [2]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HOLD-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'TAKE-MEDICINE-4',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-4',
                                 'THEME-OF': 'EVENT-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HOLD-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V2', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [2]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HOLD-4': {'AGENT': 'HUMAN-4',
                                 'AGENT-OF': 'TAKE-MEDICINE-4',
                                 'BESIDE': 'HUMAN-5',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-4',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 2,
                                 'sent-word-ind': [3, [2, 5]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'HOLD-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HOLD-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V2', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HUMAN-4': {'AGENT-OF': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HUMAN-4',
                                   'AGENT-OF': 'TAKE-4',
                                   'THEME': 'DOG-4',
                                   'THEME-OF': 'EVENT-4',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 2,
                                   'sent-word-ind': [3, [2, 5]],
                                   'token': 'took'},
                      'TAKE-4': {'AGENT': 'SELECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V3', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'AGENT-OF': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HUMAN-4',
                                   'AGENT-OF': 'TAKE-4',
                                   'BESIDE': 'HUMAN-5',
                                   'THEME': 'DOG-4',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 2,
                                   'sent-word-ind': [3, [2, 5]],
                                   'token': 'took'},
                      'TAKE-4': {'AGENT': 'SELECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V3', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HOLD-4': {'AGENT': 'SELECT-4',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HUMAN-4',
                                   'AGENT-OF': 'HOLD-4',
                                   'THEME': 'DOG-4',
                                   'THEME-OF': 'EVENT-4',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 2,
                                   'sent-word-ind': [3, [2, 5]],
                                   'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V3', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HOLD-4': {'AGENT': 'SELECT-4',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HUMAN-4',
                                   'AGENT-OF': 'HOLD-4',
                                   'BESIDE': 'HUMAN-5',
                                   'THEME': 'DOG-4',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 2,
                                   'sent-word-ind': [3, [2, 5]],
                                   'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V3', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-5',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HUMAN-4': {'AGENT-OF': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HUMAN-4',
                                   'AGENT-OF': 'SELECT-5',
                                   'THEME': 'DOG-4',
                                   'THEME-OF': 'EVENT-4',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 2,
                                   'sent-word-ind': [3, [2, 5]],
                                   'token': 'took'},
                      'SELECT-5': {'AGENT': 'SELECT-4',
                                   'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V3', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-5',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'AGENT-OF': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HUMAN-4',
                                   'AGENT-OF': 'SELECT-5',
                                   'BESIDE': 'HUMAN-5',
                                   'THEME': 'DOG-4',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 2,
                                   'sent-word-ind': [3, [2, 5]],
                                   'token': 'took'},
                      'SELECT-5': {'AGENT': 'SELECT-4',
                                   'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V3', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME': 'SELECT-4',
                                'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HUMAN-4': {'AGENT-OF': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HUMAN-4',
                                   'THEME': 'DOG-4',
                                   'THEME-OF': 'EVENT-4',
                                   'THEME-OF-1': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 2,
                                   'sent-word-ind': [3, [2, 5]],
                                   'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V3', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME': 'SELECT-4',
                                'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'HUMAN-4': {'AGENT-OF': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HUMAN-4',
                                   'BESIDE': 'HUMAN-5',
                                   'THEME': 'DOG-4',
                                   'THEME-OF': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 2,
                                   'sent-word-ind': [3, [2, 5]],
                                   'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V3', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HUMAN-4',
                                   'AGENT-OF': 'TAKE-MEDICINE-4',
                                   'THEME': 'DOG-4',
                                   'THEME-OF': 'EVENT-4',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 2,
                                   'sent-word-ind': [3, [2, 5]],
                                   'token': 'took'},
                      'TAKE-MEDICINE-4': {'AGENT': 'SELECT-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V3', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'SELECT-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'HUMAN-4',
                                   'AGENT-OF': 'TAKE-MEDICINE-4',
                                   'BESIDE': 'HUMAN-5',
                                   'THEME': 'DOG-4',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 2,
                                   'sent-word-ind': [3, [2, 5]],
                                   'token': 'took'},
                      'TAKE-MEDICINE-4': {'AGENT': 'SELECT-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V3', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-4',
                                          'DURATION': 'HUMAN-5',
                                          'THEME-OF': 'EVENT-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-4',
                                          'PATH': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP4', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-4',
                                          'PATH': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP5', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-4',
                                          'INSTRUMENT': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP6', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-4',
                                          'BESIDE': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HOLD-4': {'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'HOLD-4',
                                          'DURATION': 'HUMAN-5',
                                          'THEME-OF': 'EVENT-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HOLD-4': {'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'HOLD-4',
                                          'PATH': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP4', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HOLD-4': {'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'HOLD-4',
                                          'PATH': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP5', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HOLD-4': {'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'HOLD-4',
                                          'INSTRUMENT': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP6', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HOLD-4': {'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'HOLD-4',
                                          'BESIDE': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'SELECT-4',
                                          'DURATION': 'HUMAN-5',
                                          'THEME-OF': 'EVENT-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'SELECT-4',
                                          'PATH': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP4', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'SELECT-4',
                                          'PATH': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP5', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'SELECT-4',
                                          'INSTRUMENT': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP6', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'SELECT-4',
                                          'BESIDE': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'DURATION': 'HUMAN-5',
                                          'THEME-OF': 'EVENT-4',
                                          'THEME-OF-1': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'PATH': 'HUMAN-5',
                                          'THEME-OF': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP4', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'PATH': 'HUMAN-5',
                                          'THEME-OF': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP5', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'INSTRUMENT': 'HUMAN-5',
                                          'THEME-OF': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP6', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'BESIDE': 'HUMAN-5',
                                          'THEME-OF': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-MEDICINE-4',
                                          'DURATION': 'HUMAN-5',
                                          'THEME-OF': 'EVENT-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-MEDICINE-4',
                                          'PATH': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP4', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-MEDICINE-4',
                                          'PATH': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP5', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-MEDICINE-4',
                                          'INSTRUMENT': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP6', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      '^$VAR3-TAKE-V30': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-MEDICINE-4',
                                          'BESIDE': 'HUMAN-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': '^$VAR3',
                                          'from-sense': 'TAKE-V30',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 4, 'word-info': [[8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V30', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [2]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'TAKE-MEDICINE-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-4',
                                          'THEME-OF': 'EVENT-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]},
                                 'TAKE-MEDICINE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V40', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [2]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-4': {'AGENT': 'TAKE-MEDICINE-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'TAKE',
                                 'from-sense': 'TAKE-V1',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-4',
                                          'BESIDE': 'HUMAN-5',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE': {'count': 4, 'word-info': [[8, 'top']]},
                                 'TAKE-MEDICINE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V40', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V1', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [2]],
                                 'token': 'took'},
                      'HOLD-4': {'AGENT': 'TAKE-MEDICINE-4',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'HOLD-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-4',
                                          'THEME-OF': 'EVENT-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V40', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'ASPECT-4': {'PHASE': 'BEGIN',
                                   'SCOPE': 'HOLD-4',
                                   'concept': 'ASPECT',
                                   'from-sense': 'TAKE-V2',
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'DOG-4': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'HOLD-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [2]],
                                 'token': 'took'},
                      'HOLD-4': {'AGENT': 'TAKE-MEDICINE-4',
                                 'SCOPE-OF': 'ASPECT-4',
                                 'THEME': 'DOG-5',
                                 'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                 'concept': 'HOLD',
                                 'from-sense': 'TAKE-V2',
                                 'is-in-subtree': 'EVENT',
                                 'preference': 1,
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'HOLD-4',
                                          'BESIDE': 'HUMAN-5',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'ASPECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HOLD': {'count': 4, 'word-info': [[8, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V40', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V2', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [2]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'TAKE-MEDICINE-4',
                                   'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'SELECT-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-4',
                                          'THEME-OF': 'EVENT-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'TAKE-MEDICINE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V40', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'SELECT-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [2]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'SELECT-4': {'AGENT': 'TAKE-MEDICINE-4',
                                   'THEME': 'DOG-5',
                                   'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                   'concept': 'SELECT',
                                   'from-sense': 'TAKE-V3',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [3, [8]],
                                   'token': 'took'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'SELECT-4',
                                          'BESIDE': 'HUMAN-5',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'SELECT': {'count': 4, 'word-info': [[8, 'top']]},
                                 'TAKE-MEDICINE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V40', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V3', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME': 'TAKE-MEDICINE-4',
                                'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [2]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HUMAN-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-4',
                                          'THEME-OF': 'EVENT-4',
                                          'THEME-OF-1': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V40', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME': 'TAKE-MEDICINE-4',
                                'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 2,
                                'sent-word-ind': [3, [8, 10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-4',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [2]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HUMAN-4',
                                          'BESIDE': 'HUMAN-5',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-4',
                                          'THEME-OF': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V40', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V17', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-5',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'EVENT-4': {'concept': 'EVENT',
                                  'from-refsem': 'REFSEM1',
                                  'from-sense': 'BY-PREP3',
                                  'sent-word-ind': [3, [5]],
                                  'token': 'by'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-5',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-MEDICINE-5',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-4',
                                          'THEME-OF': 'EVENT-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'TAKE-MEDICINE-5': {'AGENT': 'TAKE-MEDICINE-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'EVENT': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V40', 4: 'DOG-N1', 5: 'BY-PREP3', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}},
             {'TMR': {'DOG-4': {'THEME-OF': 'TAKE-MEDICINE-4',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [4]],
                                'token': 'dog'},
                      'DOG-5': {'THEME-OF': 'TAKE-MEDICINE-5',
                                'concept': 'DOG',
                                'from-sense': 'DOG-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [3, [10]],
                                'token': 'dog'},
                      'HEAL-4': {'PURPOSE-OF': 'TAKE-MEDICINE-5',
                                 'concept': 'HEAL',
                                 'from-refsem': 'REFSEM1',
                                 'from-sense': 'TAKE-V40',
                                 'sent-word-ind': [3, [8]],
                                 'token': 'took'},
                      'HUMAN-4': {'AGENT-OF': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [1]],
                                  'token': 'man'},
                      'HUMAN-5': {'BESIDE-INVERSE': 'TAKE-MEDICINE-4',
                                  'GENDER': 'MALE',
                                  'concept': 'HUMAN',
                                  'from-sense': 'MAN-N1',
                                  'is-in-subtree': 'OBJECT',
                                  'preference': 1,
                                  'sent-word-ind': [3, [7]],
                                  'token': 'man'},
                      'TAKE-MEDICINE-4': {'AGENT': 'HUMAN-4',
                                          'AGENT-OF': 'TAKE-MEDICINE-5',
                                          'BESIDE': 'HUMAN-5',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-4',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 2,
                                          'sent-word-ind': [3, [2, 5]],
                                          'token': 'took'},
                      'TAKE-MEDICINE-5': {'AGENT': 'TAKE-MEDICINE-4',
                                          'PURPOSE': 'HEAL-4',
                                          'THEME': 'DOG-5',
                                          'TIME': ['<', 'FIND-ANCHOR-TIME'],
                                          'concept': 'TAKE-MEDICINE',
                                          'from-sense': 'TAKE-V40',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 1,
                                          'sent-word-ind': [3, [8]],
                                          'token': 'took'},
                      'total_preference': 7},
              'concept_counts': {'DOG': {'count': 5, 'word-info': [[4, 'top'], [10, 'top']]},
                                 'HEAL': {'count': 4, 'word-info': [[1001, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[1, 'top'], [7, 'top']]},
                                 'TAKE-MEDICINE': {'count': 5, 'word-info': [[2, 'top'], [8, 'top']]}},
              'words': {1: 'MAN-N1', 2: 'TAKE-V40', 4: 'DOG-N1', 5: 'BY-PREP7', 7: 'MAN-N1', 8: 'TAKE-V40', 10: 'DOG-N1'}}],
 'sent-num': 3,
 'sentence': 'The man took the dog by surprise.',
 'timestamp': '2016-Nov-21 01:14:42'}

fails for the TMR viewer with the error

TypeError: Cannot read property 'colors' of undefined
   at Object.module.exports.format (/root/ontosem/ontosem/tmr.js:128:60)
   at Object.module.exports.formatTMRList (/root/ontosem/ontosem/tmr.js:192:44)
   at module.exports.tmr (/root/ontosem/ontosem/routes.js:37:30)
   at Layer.handle [as handle_request] (/root/ontosem/ontosem/node_modules/express/lib/router/layer.js:95:5)
   at next (/root/ontosem/ontosem/node_modules/express/lib/router/route.js:131:13)
   at Route.dispatch (/root/ontosem/ontosem/node_modules/express/lib/router/route.js:112:3)
   at Layer.handle [as handle_request] (/root/ontosem/ontosem/node_modules/express/lib/router/layer.js:95:5)
   at /root/ontosem/ontosem/node_modules/express/lib/router/index.js:277:22
   at Function.process_params (/root/ontosem/ontosem/node_modules/express/lib/router/index.js:330:12)
   at next (/root/ontosem/ontosem/node_modules/express/lib/router/index.js:271:10)
Rossgm commented 7 years ago

SOLVED

  ---- SENTENCE 2
------ Input Sentence: Jim watches cats and Mary eats cupcakes
[('PERSON-NAME', {'$VAR0': (0,), 'preference': 3})]
[('WATCH-V1', {'$VAR0': (1,), '$VAR1': None, '$VAR2': (2,), 'preference': 0}),
 ('WATCH-V4', {'$VAR0': (1,), '$VAR1': None, '$VAR2': None, 'preference': -3}),
 ('WATCH-V5', {'$VAR0': (1,), '$VAR1': None, '$VAR2': (2,), '$VAR3': None, 'preference': -3})]
[('CAT-N1', {'$VAR0': (2,), 'preference': 1})]
[('PERSON-NAME', {'$VAR0': (4,), 'preference': 3})]
[('EAT-V1', {'$VAR0': (5,), '$VAR2': (1, 1, 2), '$VAR3': (6,), 'preference': 1})]
[('CUPCAKE-N1', {'$VAR0': (6,), 'preference': 1})]

 Finished the first loop through the words of SYN-MAP;  
   Processed word indices = {0, 1, 2, 4, 5, 6} ; current number of candidates = 1

 ==== Final result: Length = 1 TMR(s)
{'results': [{'TMR': {'CAKE-4': {'CARDINALITY': ['>', 1],
                                 'SIZE': 0.1,
                                 'THEME-OF': 'INGEST-4',
                                 'concept': 'CAKE',
                                 'from-sense': 'CUPCAKE-N1',
                                 'is-in-subtree': 'OBJECT',
                                 'preference': 1,
                                 'sent-word-ind': [2, [6]],
                                 'token': 'cupcakes'},
                      'CAT-4': {'CARDINALITY': ['>', 1],
                                'THEME-OF': 'PAY-ATTENTION-4',
                                'concept': 'CAT',
                                'from-sense': 'CAT-N1',
                                'is-in-subtree': 'OBJECT',
                                'preference': 1,
                                'sent-word-ind': [2, [2]],
                                'token': 'cats'},
                      'HUMAN-4': {'HAS-PERSONAL-NAME': 'JIM',
                                  'concept': 'HUMAN',
                                  'from-sense': 'PERSON-NAME',
                                  'is-in-subtree': 'OBJECT',
                                  'lex-source': 'onomasticon',
                                  'preference': 3,
                                  'sent-word-ind': [2, [0]],
                                  'token': 'Jim'},
                      'HUMAN-5': {'HAS-SURNAME': 'MARY',
                                  'concept': 'HUMAN',
                                  'from-sense': 'PERSON-NAME',
                                  'is-in-subtree': 'OBJECT',
                                  'lex-source': 'onomasticon',
                                  'preference': 3,
                                  'sent-word-ind': [2, [4]],
                                  'token': 'Mary'},
                      'INGEST-4': {'AGENT': 'PAY-ATTENTION-4',
                                   'THEME': 'CAKE-4',
                                   'TIME': ['FIND-ANCHOR-TIME'],
                                   'concept': 'INGEST',
                                   'from-sense': 'EAT-V1',
                                   'is-in-subtree': 'EVENT',
                                   'preference': 1,
                                   'sent-word-ind': [2, [5]],
                                   'token': 'eats'},
                      'PAY-ATTENTION-4': {'AGENT-OF': 'INGEST-4',
                                          'THEME': 'CAT-4',
                                          'TIME': ['FIND-ANCHOR-TIME'],
                                          'concept': 'PAY-ATTENTION',
                                          'from-sense': 'WATCH-V1',
                                          'is-in-subtree': 'EVENT',
                                          'preference': 0,
                                          'sent-word-ind': [2, [1]],
                                          'token': 'watches'},
                      'total_preference': 9},
              'concept_counts': {'CAKE': {'count': 4, 'word-info': [[6, 'top']]},
                                 'CAT': {'count': 4, 'word-info': [[2, 'top']]},
                                 'HUMAN': {'count': 5, 'word-info': [[0, 'top'], [4, 'top']]},
                                 'INGEST': {'count': 4, 'word-info': [[5, 'top']]},
                                 'PAY-ATTENTION': {'count': 4, 'word-info': [[1, 'top']]}},
              'words': {0: 'PERSON-NAME', 1: 'WATCH-V1', 2: 'CAT-N1', 4: 'PERSON-NAME', 5: 'EAT-V1', 6: 'CUPCAKE-N1'}}],
 'sent-num': 2,
 'sentence': 'Jim watches cats and Mary eats cupcakes',
 'timestamp': '2016-Dec-07 17:00:25'}

fails for the TMR viewer with the error:

TypeError: Cannot read property 'words' of undefined
   at Object.module.exports.format (/root/ontosem/ontosem/tmr.js:128:39)
   at Object.module.exports.formatTMRList (/root/ontosem/ontosem/tmr.js:192:44)
   at module.exports.tmr (/root/ontosem/ontosem/routes.js:37:30)
   at Layer.handle [as handle_request] (/root/ontosem/ontosem/node_modules/express/lib/router/layer.js:95:5)
   at next (/root/ontosem/ontosem/node_modules/express/lib/router/route.js:131:13)
   at Route.dispatch (/root/ontosem/ontosem/node_modules/express/lib/router/route.js:112:3)
   at Layer.handle [as handle_request] (/root/ontosem/ontosem/node_modules/express/lib/router/layer.js:95:5)
   at /root/ontosem/ontosem/node_modules/express/lib/router/index.js:277:22
   at Function.process_params (/root/ontosem/ontosem/node_modules/express/lib/router/index.js:330:12)
   at next (/root/ontosem/ontosem/node_modules/express/lib/router/index.js:271:10)
wongc7 commented 7 years ago

Solved a couple of these by adjusting the regex in tmr.js.

Regarding "Cannot read property 'colors' of undefined": the TMRs in this output are trying to refer to indices that are out of bounds. For example, there is no word at index [3, [10]]. The analyzer output may be the issue here.