from common.sentence import Sentence
class Instance:

    def __init__(self, input: Sentence, output):
        self.input = input
        self.output = output
        self.elmo_vec = None
        self.word_ids = None
        self.char_ids = None
        self.dep_label_ids = None
        self.dep_head_ids = None
        self.output_ids = None
        self.pos_label_ids = None
    def __len__(self):
        return len(self.input)
