public static class Util.FSTPath<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
FST.Arc<T> |
arc
Holds the last arc appended to this path
|
float |
boost |
java.lang.CharSequence |
context |
IntsRefBuilder |
input |
T |
output
Holds cost plus any usage-specific output:
|
int |
payload |
Constructor and Description |
---|
FSTPath(T output,
FST.Arc<T> arc,
IntsRefBuilder input)
Sole constructor
|
FSTPath(T output,
FST.Arc<T> arc,
IntsRefBuilder input,
float boost,
java.lang.CharSequence context,
int payload) |
Modifier and Type | Method and Description |
---|---|
Util.FSTPath<T> |
newPath(T output,
IntsRefBuilder input) |
java.lang.String |
toString() |
public T output
public final IntsRefBuilder input
public final float boost
public final java.lang.CharSequence context
public int payload
public FSTPath(T output, FST.Arc<T> arc, IntsRefBuilder input)
public FSTPath(T output, FST.Arc<T> arc, IntsRefBuilder input, float boost, java.lang.CharSequence context, int payload)
public Util.FSTPath<T> newPath(T output, IntsRefBuilder input)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.