Github user viirya commented on a diff in the pull request:
    --- Diff: python/pyspark/ml/ ---
    @@ -2610,6 +2610,9 @@ def setParams(self, inputCol=None, outputCol=None, 
stopWords=None, caseSensitive
             Sets params for this StopWordRemover.
             kwargs = self._input_kwargs
    +        if locale is None:
    +            sc = SparkContext._active_spark_context
    +            kwargs['locale'] =
    --- End diff --
    I was meant that if 
`` returns the 
same every time, shall we cache it and reuse it? But after re-thinking it, 
maybe we won't call this method with `locale is None` frequently. So it maybe 


To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to