/** * Tag multiple arrays of tokens for sentences * * @param $sentences array array of arrays of tokens * * @return mixed */ public function batchTag($sentences) { $this->setTagType('pos'); return parent::batchTag($sentences); }
/** * Tag multiple arrays of tokens for sentences * * @param $sentences array array of arrays of tokens * * @return mixed */ public function batchTag($sentences) { $this->setSeparator('/'); $this->setTagType('ner'); return parent::batchTag($sentences); }