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

Apache Spark reassigned SPARK-20028:
------------------------------------

    Assignee: Apache Spark

> Implement NGrams aggregate function
> -----------------------------------
>
>                 Key: SPARK-20028
>                 URL: https://issues.apache.org/jira/browse/SPARK-20028
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Chenzhao Guo
>            Assignee: Apache Spark
>
> N-grams are subsequences of length N drawn from a longer sequence. The 
> purpose of the ngrams()  is to find the k most frequent n-grams from one or 
> more sequences.
> The aggregation function has the pattern of :
> ngrams(array<array<string>>(or array<string>), int N, int K, int accuracy), 
> where
> the first parameter indicates the 'longer sequence' we collect n-grams from,
> N & K indicates the top k n-grams,
> Accuracy indicates the frequency counting accuracy.



--
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