public class RescoreContext
extends java.lang.Object
Constructor and Description |
---|
RescoreContext(int windowSize,
Rescorer rescorer)
Build the context.
|
Modifier and Type | Method and Description |
---|---|
int |
getWindowSize()
Size of the window to rescore.
|
Rescorer |
rescorer()
The rescorer to actually apply.
|
public RescoreContext(int windowSize, Rescorer rescorer)
rescorer
- the rescorer actually performing the rescore.public Rescorer rescorer()
public int getWindowSize()