public function __construct($synonyms = [], $expansions = []) { $this->synonymsConfig = $synonyms; $this->expansionsConfig = $expansions; }