spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Pentreath (JIRA)" <>
Subject [jira] [Commented] (SPARK-19668) Multiple NGram sizes
Date Tue, 21 Feb 2017 06:34:44 GMT


Nick Pentreath commented on SPARK-19668:

I'd say a range is feasible. The current API doesn't quite fit, but we could add a further
parameter that specifies the max of the range.

> Multiple NGram sizes
> --------------------
>                 Key: SPARK-19668
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.1.0
>            Reporter: Jacek KK
>            Priority: Minor
>              Labels: beginner, easyfix, newbie
> It would be nice to have a possibility of specyfing the range (or maybe a list of) sizes
of ngrams, like it is done in sklearn, as in 
> This shouldn't be difficult to add, the code is very straightforward, and I can implement
it. The only issue is with the NGram API - should it just accept a number/tuple/list?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message