Package org.apache.lucene.analysis.morph
Class ConnectionCosts
java.lang.Object
org.apache.lucene.analysis.morph.ConnectionCosts
- Direct Known Subclasses:
ConnectionCosts
,ConnectionCosts
n-gram connection cost data
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConnectionCosts
(IOSupplier<InputStream> connectionCostResource, String connectionCostsCodecHeader, int dictCodecVersion) -
Method Summary
-
Field Details
-
FILENAME_SUFFIX
- See Also:
-
buffer
-
forwardSize
private final int forwardSize
-
-
Constructor Details
-
ConnectionCosts
protected ConnectionCosts(IOSupplier<InputStream> connectionCostResource, String connectionCostsCodecHeader, int dictCodecVersion) throws IOException - Throws:
IOException
-
-
Method Details
-
get
public int get(int forwardId, int backwardId)
-