def add_corpus(self, name, description):
corpora_url = self.base_url + self.CORPORA_PAGE<EOL>data = {'<STR_LIT:name>': name, '<STR_LIT:description>': description}<EOL>result = self.session.post(corpora_url, data=data)<EOL>if result.status_code == <NUM_LIT>:<EOL><INDENT>return Corpus(session=self.session, **result.json())<EOL><DEDENT>else:<EOL><INDENT>raise RuntimeError("<STR_LIT>"<EOL>"<STR_LIT>".format(result.status_code,<EOL>result.text))<EOL><DEDENT>
Add a corpus to your account