Lauler commited on
Commit
e9d82cc
·
verified ·
1 Parent(s): 5c85060

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -0
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## Variable descriptions
2
+
3
+ | Variable | Description |
4
+ | :------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
5
+ | speech_id | `id` of speech in SWERIK.<br> |
6
+ | protocol_id | `id` of protocol in SWERIK. |
7
+ | speech_number | Speech number within a protocol. |
8
+ | dates | Date(s) from SWERIK for the given protocol the speech was in. |
9
+ | name | Speaker name |
10
+ | person_id | `id` of the [speaker/person in SWERIK]([https://github.com/swerik-project/riksdagen-persons/](https://github.com/swerik-project/riksdagen-persons/)). |
11
+ | speaker_id | Same as `person_id` |
12
+ | riksdagen_id | `id` of the person in Riksdagen's own system (if available). |
13
+ | party | Party membership(s) of the speaker over their career. |
14
+ | district | The district the person represents (if an MOP) |
15
+ | role | Role(s) the speaker has had over their career. |
16
+ | gender | Gender. |
17
+ | start_segment | Start time of the speech within the media file (filename can be found in `audio_file` variable). Obtained by running speaker diarization on top of fuzzy string matching in order to refine existing timestamps from fuzzy string matching (the values in `start_text_time`). This is generally the most accurate estimate of when the speech was given. |
18
+ | end_segment | End time of the speech within the media file (according to diarization method). |
19
+ | duration_segment | Duration of speech (diarization method). |
20
+ | text | Original protocol transcript of speech from SWERIK. |
21
+ | text_normalized | Normalized version of original protocol in a format suitable for string matching with wav2vec2 speech to text output (i.e. lowercase, only alphanumerics, convert numbers to spelled out letters, no punctuation). |
22
+ | transcription_w2v | The automatically transcribed text in the region between `start_segment` and `end_segment`. |
23
+ | start_text_time | Estimated start time of speech with fuzzy string matching (generally less accurate than `start_segment`) |
24
+ | end_text_time | Estimated end time of speech with fuzzy string matching. |
25
+ | born | Birth date of speaker. |
26
+ | dead | Death date of speaker. |
27
+ | bleu_score | BLEU score between `text_normalized` and `transcription_w2v` as an indication of the overlap. |
28
+ | overall_score | Complicated score for fuzzy string matching that needs to be explained in a paper. |
29
+ | nr_speech_segments | How many different speakers were identified by diarization within the duration of the speech (often but not always false negatives) |
30
+ | start_segment_same | Is the `start_segment` of this speech a duplicate of some other speech's estimated `start_segment`? About ~150 speeches have the same identified start time. Generally either one of the two is correct, or there was a failure case of diarization that created too broad a speech duration that covered parts of two speeches.<br> |
31
+ | audio_file | File name of the media file in Riksdagen's media archive. |