private function saveReferenceTerms(\Magento\Framework\Model\AbstractModel $object, $referenceTerms)
    {
        if ($object->getType() === ThesaurusInterface::TYPE_EXPANSION) {
            $this->getConnection()->insertOnDuplicate(
                $this->getTable(ThesaurusInterface::REFERENCE_TABLE_NAME),
                $referenceTerms,
                array_keys(current($referenceTerms))
            );
        }

        return $this;
    }