public function addDictionary($dictionary)
    {
        if (! $dictionary instanceof \Org\Heigl\Hyphenator\Dictionary\Dictionary) {
            \Org\Heigl\Hyphenator\Dictionary\Dictionary::setFileLocation($this->getHomePath() . '/files/dictionaries');
            $dictionary = \Org\Heigl\Hyphenator\Dictionary\Dictionary::factory($dictionary);
        }
        $this->dicts->add($dictionary);

        return $this;
    }