implemented ANNIE with setCorpus and execute.