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

Xiangrui Meng updated SPARK-8455:
---------------------------------
            Priority: Minor  (was: Trivial)
    Target Version/s: 1.5.0
            Assignee: Feynman Liang

> Implement N-Gram Feature Transformer
> ------------------------------------
>
>                 Key: SPARK-8455
>                 URL: https://issues.apache.org/jira/browse/SPARK-8455
>             Project: Spark
>          Issue Type: New Feature
>          Components: ML
>            Reporter: Feynman Liang
>            Assignee: Feynman Liang
>            Priority: Minor
>
> N-grams are a NLP feature representation which generalize bag of words to 
> include local context (the n-1 preceding words). We can implement N-grams in 
> ML as a feature transformer (likely directly after tokenization).
> For example, "this is a test" should tokenize to ["this","is","a","test"], 
> which upon applying a 2-gram feature transform should yield 
> [["this","is"],["is","a"],["a","test"]].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to