[Import] Lucene Common Format File Text Extraction Tool

Source: Internet
Author: User
The appendix lists some file extraction tools for commonly used format files for use in Lucene.

1. pdf format
PDF documents are quite common, but if you want to index the content, you need a dedicated tool to extract the text. The most common PDF Text Extraction Tool is product_box. Its download URL is:

Http://sourceforge.net/projects/pdfbox/

Of course, product_box has poor support for Chinese. If you want to extract text from a Chinese PDF file, you can use a tool called xpdf. The download URL is as follows:

Http://www.foolabs.com/xpdf/download.html

2. Microsoft format (Word, Excel)
To extract Microsoft Word and Excel files in this document, you can use either of the following methods:

1. Use com-Java

We know that Microsoft's Word and ExcelProgramIt exists as a COM component. If you can
ArticleSource: http://www.gins.cn/blog/article.asp? Id = 51

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.