def paded_word_idx(self, seq, max_sen_len=20, left_pad=1):
    seq = seq[0:max_sen_len]
    pad_w = np.concatenate((np.zeros((max_sen_len - len(seq))), seq), axis=0)
    pad_w = np.array([self.word_embedding_list_sdk[int(w_id)] for w_id in pad_w])
    return pad_w
def paded_word_idx(self, seq, max_sen_len=20, left_pad=1):
    seq = seq[0:max_sen_len]
    pad_w = np.concatenate((np.zeros((max_sen_len - len(seq))), seq), axis=0)
    pad_w = np.array([self.word_embedding_list_sdk[int(w_id)] for w_id in pad_w])
    return pad_w