elif "in_vocab" in self.data:
term = self.data.split(",")[1]
res = se.in_vocab(term)
elif "get_group" in self.data:
term = self.data.split(",")[1]
res = se.get_group(term)
else:
After Change
elif req == "get_group":
term = self.data[1]
res = se.get_group(term)
elif req == "annotate":
seed = self.data[1]
text = self.data[2]
res = self.annotate(text, seed)
logger.info("res:%s", str(res))
elif req == "expand":
logger.info("expanding")
data = [x.strip() for x in self.data[1].split(",")]
res = se.expand(data)