Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
New
Description
(UnifiedHighlighter) Passage.java has a variety of package-level fields and methods that are accessed by FieldHighlighter.highlightOffsetsEnums (the kernel of the UH). It should be possible for people to extend this method to tweak the process of producing passages. That method is extensible but Passage.java is too closed. Even if one were to write their own equivalent to Passage.java, it would be impossible to then use PassageScorer or PassageFormatter.