Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/11871#discussion_r56936907
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/feature/StopWordsRemover.scala ---
@@ -98,13 +67,16 @@ class StopWordsRemover(override val uid: String)
/**
* the stop words set to be filtered out
- * Default: [[StopWords.English]]
+ * Default: [[StopWords.languageMap("english")]]
--- End diff --
It won't show up correctly since `object StopWords` is private.
`StopWords.English` is not correct either. We can just mention that by default
it is unset and it will be set to the default list for the selected language
during transformation.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]