QueryRescorer.QueryRescoreContext
public class RescoreContext
extends java.lang.Object
Constructor | Description |
---|---|
RescoreContext(int windowSize,
Rescorer rescorer) |
Build the context.
|
Modifier and Type | Method | 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()