def get_entity_word_idxs(sentence, et, cid):
    """Get indices of @sentence tokens with type @et and id @cid"""
    itr = enumerate(zip(sentence.entity_types, sentence.entity_cids))
    return [i for i, (t, c) in itr if c == cid and t == et]