public static function stemPhrase($phares, $language)
    {
        $words = [];
        foreach (explode(" ", $phares) as $word) {
            $words[] = static::stem($word, $language);
        }
        
        return implode(" ", $words);
    }
public static function stemPhrase($phares, $language)
    {
        $words = [];
        foreach (explode(" ", $phares) as $word) {
            $words[] = static::stem($word, $language);
        }
        
        return implode(" ", $words);
    }
public static function stemPhrase ( $ phares , $ language ) { $ words = [ ] ; foreach ( explode ( " " , $ phares ) as $ word ) { $ words [ ] = static :: stem ( $ word , $ language ) ; } return implode ( " " , $ words ) ; }
Stem a phrase by its words.

If the language could not be found the world will returned.

@param string $phares The phares to stem e.g. `A drinking drinker`
@param string $language The language to stem with e.g. `de`,`en`
@return string The stemmed word, if language not found original input returned.
Stem a phrase by its words .