protected function transformWords(array $words)
    {
        $text = implode(" {$this->determine} ", $words);

        $text = $this->pinyin->sentence($text);

        return explode(" {$this->determine} ", $text);
    }
protected function transformWords(array $words)
    {
        $text = implode(" {$this->determine} ", $words);

        $text = $this->pinyin->sentence($text);

        return explode(" {$this->determine} ", $text);
    }
protected function transformWords ( array $ words ) { $ text = implode ( " {$this->determine} " , $ words ) ; $ text = $ this -> pinyin -> sentence ( $ text ) ; return explode ( " {$this->determine} " , $ text ) ; }
Transform words to pinyin.

@param array $words

@return array
Transform words to pinyin .