Package org.apache.lucene.analysis.morph
Class ConnectionCosts
java.lang.Object
org.apache.lucene.analysis.morph.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:
-
-
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)
-