手机版
你好,游客 登录 注册
背景:
阅读新闻

Apache Tika 1.8 发布下载,内容抽取工具集合

[日期:2015-04-21] 来源:oschina.net  作者:Linux [字体:大 中 小]

Apache Tika 1.8 发布下载,此版本主要有以下更新:

  • Fix null pointer when processing ODT footer styles (TIKA-1600).

  • Upgrade to com.drewnoakes' metadata-extractor to 2.0 and
        add parser for webp metadata (TIKA-1594).

  • Duration extracted from MP3s with no ID3 tags (TIKA-1589).

  • Upgraded to PDFBox 1.8.9 (TIKA-1575).

  • Tika now supports the IsaTab data standard for bioinformatics
        both in terms of MIME identification and in terms of parsing
        (TIKA-1580).

  • Tika server can now enable CORS requests with the command line
        "--cors" or "-C" option (TIKA-1586).

  • Update jhighlight dependency to avoid using LGPL license. Thank
        @kkrugler for his great contribution (TIKA-1581).

  • Updated HDF and NetCDF parsers to output file version in
        metadata (TIKA-1578 and TIKA-1579).

  • Upgraded to POI 3.12-beta1 (TIKA-1531).

  • Added tika-batch module for directory to directory batch
        processing.  This is a new, experimental capability, and the API will
        likely change in future releases (TIKA-1330).

  • Translator.translate() Exceptions are now restricted to
        TikaException and IOException (TIKA-1416).

  • Tika now supports MIME detection for Microsoft Extended
        Makefiles (EMF) (TIKA-1554).

  • Tika has improved delineation in XML and HTML MIME detection
        (TIKA-1365).

  • Upgraded the Drew Noakes metadata-extractor to version 2.7.2
        (TIKA-1576).

  • Added basic style support for ODF documents, contributed by
        Axel D枚rfler (TIKA-1063).

  • Move Tika server resources and writers to separate
        org.apache.tika.server.resource and writer packages (TIKA-1564).

  • Upgrade UCAR dependencies to 4.5.5 (TIKA-1571).

  • Fix Paths in Tika server welcome page (TIKA-1567).

  • Fixed infinite recursion while parsing some PDFs (TIKA-1038).

  • XHTMLContentHandler now properly passes along body attributes,
        contributed by Markus Jelsma (TIKA-995).

  • TikaCLI option --compare-file-magic to report mime types known to
        the file(1) tool but not known / fully known to Tika.

  • MediaTypeRegistry support for returning known child types.

  • Support for excluding (blacklisting) certain Parsers from being
        used by DefaultParser via the Tika Config file, using the new
        parser-exclude tag (TIKA-1558).

详细信息请查看发行页面。

此版本现已提供下载:

http://www.apache.org/dyn/closer.cgi/tika/apache-tika-1.8-src.zip

Tika是一个内容抽取的工具集合(a toolkit for text extracting)。它集成了POI, Pdfbox 并且为文本抽取工作提供了一个统一的界面。其次,Tika也提供了便利的扩展API,用来丰富其对第三方文件格式的支持。

Tika的API十分便捷,核心是Parser interface,其中定义了一个parse方法:
public void parse(InputStream stream, ContentHandler handler, Metadata metadata)
用stream参数传递需要解析的文件流, 文本内容会被传入handler,而元数据会更新至metadata。

可以使用Tika的ParserUtils工具来根据文件的mime-type来得到一个适当的Parser来进行解析工作。或者Tika还提供了一个AutoDetectParser根据不同的二进制文件的特殊格式 (比如说Magic Code),来寻找适合的Parser。

Apache Tika的详细介绍:请点这里
Apache Tika的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-04/116514.htm

linux
相关资讯       Apache Tika 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款