| Modifier and Type | Method and Description |
|---|---|
OcrPassageFormatter |
OcrFormat.getPassageFormatter(String prehHighlightTag,
String postHighlightTag,
boolean absoluteHighlights)
Get a PassageFormatter that builds OCR snippets from passages
|
| Modifier and Type | Class and Description |
|---|---|
class |
AltoPassageFormatter |
| Modifier and Type | Method and Description |
|---|---|
OcrPassageFormatter |
AltoFormat.getPassageFormatter(String prehHighlightTag,
String postHighlightTag,
boolean absoluteHighlights) |
| Modifier and Type | Class and Description |
|---|---|
class |
HocrPassageFormatter |
| Modifier and Type | Method and Description |
|---|---|
OcrPassageFormatter |
HocrFormat.getPassageFormatter(String prehHighlightTag,
String postHighlightTag,
boolean absoluteHighlights) |
| Modifier and Type | Class and Description |
|---|---|
class |
MiniOcrPassageFormatter |
| Modifier and Type | Method and Description |
|---|---|
OcrPassageFormatter |
MiniOcrFormat.getPassageFormatter(String prehHighlightTag,
String postHighlightTag,
boolean absoluteHighlights) |
| Modifier and Type | Method and Description |
|---|---|
OcrHighlightResult[] |
OcrHighlighter.highlightOcrFields(String[] ocrFieldNames,
org.apache.lucene.search.Query query,
int[] docIDs,
int[] maxPassagesOcr,
BreakIterator breakIter,
OcrPassageFormatter formatter,
String pageId) |
| Constructor and Description |
|---|
OcrFieldHighlighter(String field,
org.apache.lucene.search.uhighlight.FieldOffsetStrategy fieldOffsetStrategy,
FieldByteOffsetStrategy fieldByteOffsetStrategy,
org.apache.lucene.search.uhighlight.PassageScorer passageScorer,
BreakIterator breakIter,
OcrPassageFormatter formatter,
int maxPassages,
int maxNoHighlightPassages) |
Copyright © 2019. All rights reserved.