def __init__(self, id_list, max_context_len=5, max_sen_len=20):
    self.id_list = id_list
    openface_file = 'openface_features_sdk.pkl'
    covarep_file = 'covarep_features_sdk.pkl'
    language_file = 'language_sdk.pkl'
    word_embedding_list_file = 'word_embedding_list.pkl'
    humor_label_file = 'humor_label_sdk.pkl'
    self.word_aligned_openface_sdk = load_pickle(openface_file)
    self.word_aligned_covarep_sdk = load_pickle(covarep_file)
    self.language_sdk = load_pickle(language_file)
    self.word_embedding_list_sdk = load_pickle(word_embedding_list_file)
    self.humor_label_sdk = load_pickle(humor_label_file)
    self.of_d = 371
    self.cvp_d = 81
    self.glove_d = 300
    self.total_dim = ((self.glove_d + self.of_d) + self.cvp_d)
    self.max_context_len = max_context_len
    self.max_sen_len = max_sen_len
def __init__(self, id_list, max_context_len=5, max_sen_len=20):
    self.id_list = id_list
    openface_file = 'openface_features_sdk.pkl'
    covarep_file = 'covarep_features_sdk.pkl'
    language_file = 'language_sdk.pkl'
    word_embedding_list_file = 'word_embedding_list.pkl'
    humor_label_file = 'humor_label_sdk.pkl'
    self.word_aligned_openface_sdk = load_pickle(openface_file)
    self.word_aligned_covarep_sdk = load_pickle(covarep_file)
    self.language_sdk = load_pickle(language_file)
    self.word_embedding_list_sdk = load_pickle(word_embedding_list_file)
    self.humor_label_sdk = load_pickle(humor_label_file)
    self.of_d = 371
    self.cvp_d = 81
    self.glove_d = 300
    self.total_dim = ((self.glove_d + self.of_d) + self.cvp_d)
    self.max_context_len = max_context_len
    self.max_sen_len = max_sen_len