Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11871#discussion_r57397655
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/feature/StopWordsRemover.scala ---
    @@ -31,51 +31,16 @@ import org.apache.spark.sql.types.{ArrayType, 
StringType, StructType}
      */
     private[spark] object StopWords {
    --- End diff --
    
    This class is package private and hence users do not have access to 
`readStopWords`. We can either make it public or move the methods to `object 
StopWordsRemover`. If we take the former approach, we should check Java 
compatibility. I like the latter approach better.


---
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]

Reply via email to