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

Sean Owen updated SPARK-19848:
------------------------------
      Priority: Minor  (was: Major)
    Issue Type: Improvement  (was: Wish)

If it's more of a question, ask on the mailing list.
It's not unreasonable, but what's the use case? stopwords are, well, words and 
not classes of words. You can always filter text in your own code as you like, 
and this is not a general-purpose tool for removing strings.

> Regex Support in StopWordsRemover
> ---------------------------------
>
>                 Key: SPARK-19848
>                 URL: https://issues.apache.org/jira/browse/SPARK-19848
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.1.0
>            Reporter: Mohd Suaib Danish
>            Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to