Features
Functions
get_embeddings(story)
Load embeddings, vocabulary and word onset/offset times from the textgrid file.
Source code in src/features.py
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
|
get_envelope(signal)
Compute the audio envelope
Source code in src/features.py
13 14 15 16 |
|
load_embeddings()
Load the embedding vectors and vocabulary from the EMBEDDINGS_FILE (h5py).
Source code in src/features.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
|