| Modifier and Type | Method and Description |
|---|---|
abstract String |
OcrPassageFormatter.determineStartPage(String ocrFragment,
int startOffset,
IterableCharSequence content)
Determine the id of the page an OCR fragment resides on.
|
OcrSnippet[] |
OcrPassageFormatter.format(org.apache.lucene.search.uhighlight.Passage[] passages,
IterableCharSequence content)
Format the passages that point to subsequences of the document text into
OcrSnippet instances |
| Modifier and Type | Method and Description |
|---|---|
String |
AltoPassageFormatter.determineStartPage(String ocrFragment,
int startOffset,
IterableCharSequence content) |
| Modifier and Type | Method and Description |
|---|---|
String |
HocrPassageFormatter.determineStartPage(String ocrFragment,
int startOffset,
IterableCharSequence content) |
| Modifier and Type | Method and Description |
|---|---|
String |
MiniOcrPassageFormatter.determineStartPage(String xmlFragment,
int startOffset,
IterableCharSequence content) |
| Modifier and Type | Method and Description |
|---|---|
OcrSnippet[] |
OcrFieldHighlighter.highlightFieldForDoc(org.apache.lucene.index.LeafReader reader,
int docId,
IterableCharSequence content,
String pageId)
The primary method -- highlight this doc, assuming a specific field and given this content.
|
| Modifier and Type | Method and Description |
|---|---|
IterableCharSequence |
ExternalFieldLoader.loadField(Map<String,String> fields,
String fieldName)
Load the field content from an external source
|
IterableCharSequence |
PathFieldLoader.loadField(Map<String,String> fields,
String fieldName) |
| Modifier and Type | Class and Description |
|---|---|
class |
FileBytesCharIterator
ATTENTION: This breaks the semantics of
CharacterIterator and CharSequence
since all indices are byte offsets into the underlying file, not character indices. |
static class |
IterableCharSequence.IterableStringCharSequence |
class |
MultiFileBytesCharIterator |
| Modifier and Type | Method and Description |
|---|---|
static IterableCharSequence |
IterableCharSequence.fromString(String string) |
Copyright © 2019. All rights reserved.