W
- V
- public class NgramsForOrderMapWrapper<W,V> extends AbstractMap<List<W>,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
NgramsForOrderMapWrapper(NgramMap<V> map,
WordIndexer<W> wordIndexer,
int ngramOrder) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key) |
Set<Map.Entry<List<W>,V>> |
entrySet() |
V |
get(Object arg0) |
public NgramsForOrderMapWrapper(NgramMap<V> map, WordIndexer<W> wordIndexer, int ngramOrder)
map
- ngramOrder
- 0-based, i.e. 0 means unigramspublic boolean containsKey(Object key)
containsKey
in interface Map<List<W>,V>
containsKey
in class AbstractMap<List<W>,V>