Skip to content

Commit 53f97b7

Browse files
committed
new constant for english stop words
1 parent acfc9fe commit 53f97b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/test/scala/org/apache/spark/ml/feature/StopWordsRemoverSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class StopWordsRemoverSuite extends SparkFunSuite with MLlibTestSparkContext {
6565
}
6666

6767
test("StopWordsRemover with additional words") {
68-
val stopWords = StopWords.EnglishStopWords ++ Array("python", "scala")
68+
val stopWords = StopWords.ENGLISH_STOP_WORDS ++ Array("python", "scala")
6969
val remover = new StopWordsRemover()
7070
.setInputCol("raw")
7171
.setOutputCol("filtered")

0 commit comments

Comments
 (0)