src/Tao/Support/StopWords.php
public function get($locale = 'en')
	{
		if (isset($this->stopwords[$locale])) {
			return $this->stopwords[$locale];
		}

		$this->stopwords[$locale] = [];

		$filename = $this->path . '/' . $locale . '.php';

		if (file_exists($filename)) {
			$this->stopwords[$locale] = require $filename;
		}

		return $this->stopwords[$locale];
	}
public function get($locale = 'en')
	{
		if (isset($this->stopwords[$locale])) {
			return $this->stopwords[$locale];
		}

		$this->stopwords[$locale] = [];

		$filename = $this->path . '/' . $locale . '.php';

		if (file_exists($filename)) {
			$this->stopwords[$locale] = require $filename;
		}

		return $this->stopwords[$locale];
	}
public function get ( $ locale = 'en' ) { if ( isset ( $ this -> stopwords [ $ locale ] ) ) { return $ this -> stopwords [ $ locale ] ; } $ this -> stopwords [ $ locale ] = [ ] ; $ filename = $ this -> path . '/' . $ locale . '.php' ; if ( file_exists ( $ filename ) ) { $ this -> stopwords [ $ locale ] = require $ filename ; } return $ this -> stopwords [ $ locale ] ; }
Return stop word list for given locale.

@param string $locale
@return array
Return stop word list for given locale .