public function actionSynonyms($class = null)
    {
        try {
            foreach (Yii::$app->rhoone->dic->getSynonyms($class) as $synonyms) {
                echo $synonyms->word . "\n";
            }
        } catch (\Exception $ex) {
            throw new Exception($ex->getMessage());
        }
        return 0;
    }