matejklemen commited on
Commit
eb26a29
·
1 Parent(s): a937ef4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -5
README.md CHANGED
@@ -50,9 +50,8 @@ A sample instance from the dataset:
50
  'idx_paragraph': 24,
51
  'idx_sentence': 1,
52
  'sentence_words': ['Morda', 'zato', ',', 'ker', 'resnice', 'nočete', 'sprejeti', ',', 'in', 'nadaljujete', 'po', 'svoje', '.'],
53
- 'met_type': ['O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'MRWi', 'O', 'O'],
54
- 'met_frame': ['O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'adverbial_phrase/spatial_orientation', 'adverbial_phrase', 'O']
55
- }
56
  ```
57
 
58
  The sentence comes from the document `komet49.div.xml`, is the 60th sentence in the document and is the 1st sentence inside the 24th paragraph in the document.
@@ -67,8 +66,8 @@ The phrase "po svoje" is annotated with the frame "adverbial phrase" and the wor
67
  - `idx_sentence`: a uint32 containing the index of the sentence inside its paragraph;
68
  containing the consecutive number of the paragraph inside the current news article;
69
  - `sentence_words`: words in the sentence;
70
- - `met_type`: metaphor type for each word in the sentence;
71
- - `met_frame`: metaphor frame for each word in the sentence, representing the source domain of the conceptual metaphor. If a word is annotated with multiple frames, they are separated with a "/".
72
 
73
  ## Dataset Creation
74
 
 
50
  'idx_paragraph': 24,
51
  'idx_sentence': 1,
52
  'sentence_words': ['Morda', 'zato', ',', 'ker', 'resnice', 'nočete', 'sprejeti', ',', 'in', 'nadaljujete', 'po', 'svoje', '.'],
53
+ 'met_type': [{'type': 'MRWi', 'word_indices': [10]}],
54
+ 'met_frame': [{'type': 'spatial_orientation', 'word_indices': [10]}, {'type': 'adverbial_phrase', 'word_indices': [10, 11]}]}
 
55
  ```
56
 
57
  The sentence comes from the document `komet49.div.xml`, is the 60th sentence in the document and is the 1st sentence inside the 24th paragraph in the document.
 
66
  - `idx_sentence`: a uint32 containing the index of the sentence inside its paragraph;
67
  containing the consecutive number of the paragraph inside the current news article;
68
  - `sentence_words`: words in the sentence;
69
+ - `met_type`: metaphors in the sentence, marked by their type and word indices;
70
+ - `met_frame`: metaphor frames in the sentence, marked by their type (frame name) and word indices.
71
 
72
  ## Dataset Creation
73