[ 
https://issues.apache.org/jira/browse/SPARK-19848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mohd Suaib Danish updated SPARK-19848:
--------------------------------------
    Description: 
Can we have regex feature in StopWordsRemover in addition to the provided list 
of stop words?

Use cases can be following:
1. Remove all single or double letter words- [a-zA-Z]{1,2}
2. Remove anything starting with abc - ^abc

  was:
Can we have regex feature in StopWordsRemover in addition to the provided list 
of stop words?
Use cases can be following:
1. Remove all single or double letter words- [a-zA-Z]{1,2}
2. Remove anything starting with abc - ^abc


> Regex Support in StopWordsRemover
> ---------------------------------
>
>                 Key: SPARK-19848
>                 URL: https://issues.apache.org/jira/browse/SPARK-19848
>             Project: Spark
>          Issue Type: Wish
>          Components: ML
>    Affects Versions: 2.1.0
>            Reporter: Mohd Suaib Danish
>
> Can we have regex feature in StopWordsRemover in addition to the provided 
> list of stop words?
> Use cases can be following:
> 1. Remove all single or double letter words- [a-zA-Z]{1,2}
> 2. Remove anything starting with abc - ^abc



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to