StopWords.php
public static function getArray($language)
    {
        $fileName = __DIR__ . '/stop-words/' . $language . '.txt';
        if (file_exists($fileName)) {
            return array_map('trim', file($fileName));
        }

        return [];
    }
public static function getArray($language)
    {
        $fileName = __DIR__ . '/stop-words/' . $language . '.txt';
        if (file_exists($fileName)) {
            return array_map('trim', file($fileName));
        }

        return [];
    }
Get stop-words list in array format

@param string $language Language code (en, es, cs)
@return array