protected function _getSelectors($words) {
        $selectors = [];
        $selector = '';

        foreach ($words as $word) {
            if ($word['type'] !== 'text') {
                $selector .= $word['text'];
                continue;
            }

            $list = explode(',', $word['text']);
            $selector .= array_shift($list);
            while (count($list) > 0) {
                $selectors[] = trim($selector);
                $selector = array_shift($list);
            }
        }

        $selectors[] = trim($selector);

        $results = [];
        foreach ($selectors as $row) {
            if (strlen($row) > 0) {
                $results[] = $row;
            }
        }
        return $results;
    }