
edu.berkeley.nlp.lm.map.HashMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of berkeleylm Show documentation
Show all versions of berkeleylm Show documentation
An N-gram Language Model Library from UC Berkeley
The newest version!
package edu.berkeley.nlp.lm.map;
import java.util.Iterator;
import edu.berkeley.nlp.lm.array.CustomWidthArray;
import edu.berkeley.nlp.lm.array.LongArray;
interface HashMap
{
public long put(final long key);
public long getOffset(final long key);
public double getLoadFactor();
public long getCapacity();
public long getKey(long contextOffset);
public boolean isEmptyKey(long key);
public long size();
public Iterable keys();
public boolean hasContexts(int word);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy