ngram¶
Parameters¶
Parameter label |
I/O type |
Data type |
Mandatory parameter? |
Default value |
---|---|---|---|---|
|
input |
vector |
yes |
N/A |
|
input |
scalar |
yes |
N/A |
|
output |
list |
N/A |
N/A |
Functionality¶
Module computes a list of n-grams over inputVec
with N
defining the n-gram size.
The n-grams are saved as a list in outputVec
.
Here is a simple example:
inputVec = [1,2,3,4]
N = 2
...
outputVec = [[1,2],[2,3],[3,4]]