private function loadLanguageData(string $language = 'de')
  {
    if (\in_array($language, self::$availableLanguages, true) === false) {
      throw new StopWordsLanguageNotExists('language not supported: ' . $language);
    }

    $this->stopWords[$language] = $this->getData($language);
  }
private function loadLanguageData(string $language = 'de')
  {
    if (\in_array($language, self::$availableLanguages, true) === false) {
      throw new StopWordsLanguageNotExists('language not supported: ' . $language);
    }

    $this->stopWords[$language] = $this->getData($language);
  }
private function loadLanguageData ( string $ language = 'de' ) { if ( \ in_array ( $ language , self :: $ availableLanguages , true ) === false ) { throw new StopWordsLanguageNotExists ( 'language not supported: ' . $ language ) ; } $ this -> stopWords [ $ language ] = $ this -> getData ( $ language ) ; }
Load language-data from one language.

@param string $language

@throws StopWordsLanguageNotExists
Load language - data from one language .