Not sure if this is something of interest, but there is an open source
project called File2XLIFF4j on Sourceforge.net
(http://file2xliff4j.sourceforge.net/). The project converts many
common file formats to XLIFF. It may be useful for getting a common
format, highlighting, and the recreating the original file with the format.
Erik Hatcher wrote:
There are test cases in the Highlighter codebase that exercise it and
show its use, as well as a few examples of it in the "Lucene in
Action" codebase.
These examples output plain text with some prefix and suffix
surrounding the highlighted terms. Highlighting text in a PDF is
possible, I'm pretty sure, but I don't think the same would be easily
possible with Microsoft document formats. I'm not sure if you are
asking for these document types to be highlighted or just a plain text
representation of them, though.
Erik
On Sep 7, 2006, at 6:37 PM, Mag Gam wrote:
Hey
Anyone have a search result highlighter example?
I have various doc, PDFs, DOC, TXT, PPT, and I would like to show a
highlight, similar to how google does it...
tia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]