Class NgramMapWrapper<W,V>

java.lang.Object
java.util.AbstractMap<List<W>,V>
edu.berkeley.nlp.lm.map.NgramMapWrapper<W,V>
Type Parameters:
W -
V -
All Implemented Interfaces:
Map<List<W>,V>

public class NgramMapWrapper<W,V> extends AbstractMap<List<W>,V>
Wraps an NgramMap as a Java Map, with ngrams of all orders mixed together. This collection is read-only. It is also uses a lot inefficient boxing and unboxing.
Author:
adampauls