def __init__(self, essaytype="<STR_LIT:train>"):
if(essaytype != "<STR_LIT:train>" and essaytype != "<STR_LIT:test>"):<EOL><INDENT>essaytype = "<STR_LIT:train>"<EOL><DEDENT>self._type = essaytype<EOL>self._score = []<EOL>self._text = []<EOL>self._id = []<EOL>self._clean_text = []<EOL>self._tokens = []<EOL>self._pos = []<EOL>self._clean_stem_text = []<EOL>self._generated = []<EOL>self._prompt = "<STR_LIT>"<EOL>self._spelling_errors = []<EOL>self._markup_text = []<EOL>
Initialize variables and check essay set type