Skip to content

Commit

Permalink
new constant for english stop words
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Aug 27, 2015
1 parent acfc9fe commit 53f97b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class StopWordsRemoverSuite extends SparkFunSuite with MLlibTestSparkContext {
}

test("StopWordsRemover with additional words") {
val stopWords = StopWords.EnglishStopWords ++ Array("python", "scala")
val stopWords = StopWords.ENGLISH_STOP_WORDS ++ Array("python", "scala")
val remover = new StopWordsRemover()
.setInputCol("raw")
.setOutputCol("filtered")
Expand Down

0 comments on commit 53f97b7

Please sign in to comment.