Github user feynmanliang commented on a diff in the pull request:
https://github.com/apache/spark/pull/8118#discussion_r37930901
--- Diff: python/pyspark/ml/feature.py ---
@@ -819,6 +819,51 @@ class StringIndexerModel(JavaModel):
"""
+class StopWordsRemover(JavaTransformer, HasInputCol, HasOutputCol):
+ """
+ .. note:: Experimental
+
+ A feature transformer that filters out stop words from input.
+ Note: null values from input array are preserved unless adding null to
stopWords explicitly.
+ """
+ # a placeholder to make the stopwords show up in generated doc
+ stopWords = Param(Params._dummy(), "stopWords", "The words to be
filtered out")
--- End diff --
Can we also provide `caseSensitive`?
---
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]