Constructor and Description |
---|
NGramStringIterable(Iterable<String> tokens,
int minN,
int maxN) |
NGramStringIterable(String[] tokens,
int minN,
int maxN) |
Modifier and Type | Method and Description |
---|---|
Iterator<String> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public NGramStringIterable(Iterable<String> tokens, int minN, int maxN)
tokens
- An iterable of tokens.minN
- the minimal n-gram length.maxN
- the maximal n-gram length.public NGramStringIterable(String[] tokens, int minN, int maxN)
tokens
- An array of tokens.minN
- the minimal n-gram length.maxN
- the maximal n-gram length.Copyright © 2007–2016 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.