Window Context Compressor
class WindowContextCompressor(windowChars: Int = 100, maxSnippets: Int = 3, maxTotalChars: Int = 500) : ContextCompressor
Extracts a window of text around each mention of the entity.
Parameters
window Chars
Characters before and after each mention to include
max Snippets
Maximum number of snippets to include
max Total Chars
Maximum total characters in compressed output