Repository: spark Updated Branches: refs/heads/branch-1.4 020dd30e5 -> 6e85064f4
[MINOR] [MLLIB] fix doc for RegexTokenizer This is #7791 for Python. hhbyyh Author: Xiangrui Meng <[email protected]> Closes #7798 from mengxr/regex-tok-py and squashes the following commits: baa2dcd [Xiangrui Meng] fix doc for RegexTokenizer (cherry picked from commit 81464f2a8243c6ae2a39bac7ebdc50d4f60af451) Signed-off-by: Xiangrui Meng <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/6e85064f Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/6e85064f Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/6e85064f Branch: refs/heads/branch-1.4 Commit: 6e85064f416bf647ea463bffa621367647862c61 Parents: 020dd30 Author: Xiangrui Meng <[email protected]> Authored: Thu Jul 30 09:45:17 2015 -0700 Committer: Xiangrui Meng <[email protected]> Committed: Thu Jul 30 09:45:41 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/6e85064f/python/pyspark/ml/feature.py ---------------------------------------------------------------------- diff --git a/python/pyspark/ml/feature.py b/python/pyspark/ml/feature.py index ddb33f4..7432108 100644 --- a/python/pyspark/ml/feature.py +++ b/python/pyspark/ml/feature.py @@ -456,7 +456,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: [email protected] For additional commands, e-mail: [email protected]
