Repository: spark Updated Branches: refs/heads/master ed3cb1d21 -> 81464f2a8
[MINOR] [MLLIB] fix doc for RegexTokenizer This is #7791 for Python. hhbyyh Author: Xiangrui Meng <m...@databricks.com> Closes #7798 from mengxr/regex-tok-py and squashes the following commits: baa2dcd [Xiangrui Meng] fix doc for RegexTokenizer Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/81464f2a Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/81464f2a Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/81464f2a Branch: refs/heads/master Commit: 81464f2a8243c6ae2a39bac7ebdc50d4f60af451 Parents: ed3cb1d Author: Xiangrui Meng <m...@databricks.com> Authored: Thu Jul 30 09:45:17 2015 -0700 Committer: Xiangrui Meng <m...@databricks.com> Committed: Thu Jul 30 09:45:17 2015 -0700 ---------------------------------------------------------------------- python/pyspark/ml/feature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/81464f2a/python/pyspark/ml/feature.py ---------------------------------------------------------------------- diff --git a/python/pyspark/ml/feature.py b/python/pyspark/ml/feature.py index 86e654d..015e7a9 100644 --- a/python/pyspark/ml/feature.py +++ b/python/pyspark/ml/feature.py @@ -525,7 +525,7 @@ class RegexTokenizer(JavaTransformer, HasInputCol, HasOutputCol): """ A regex based tokenizer that extracts tokens either by using the provided regex pattern (in Java dialect) to split the text - (default) or repeatedly matching the regex (if gaps is true). + (default) or repeatedly matching the regex (if gaps is false). Optional parameters also allow filtering tokens using a minimal length. It returns an array of strings that can be empty. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org