public function deleteSynonym($baseWord)
    {
        $this->initializeSynonymsUrl();
        if (empty($baseWord)) {
            throw new \InvalidArgumentException('Must provide base word.');
        }

        $response = $this->_sendRawDelete($this->_synonymsUrl . '/' . urlencode($baseWord));
        return $response;
    }
public function deleteSynonym($baseWord)
    {
        $this->initializeSynonymsUrl();
        if (empty($baseWord)) {
            throw new \InvalidArgumentException('Must provide base word.');
        }

        $response = $this->_sendRawDelete($this->_synonymsUrl . '/' . urlencode($baseWord));
        return $response;
    }
public function deleteSynonym ( $ baseWord ) { $ this -> initializeSynonymsUrl ( ) ; if ( empty ( $ baseWord ) ) { throw new \ InvalidArgumentException ( 'Must provide base word.' ) ; } $ response = $ this -> _sendRawDelete ( $ this -> _synonymsUrl . '/' . urlencode ( $ baseWord ) ) ; return $ response ; }
Remove a synonym from the synonyms map

@param string $baseWord
@return ResponseAdapter
@throws \InvalidArgumentException
Remove a synonym from the synonyms map