Apache Tika

From COPTR
Revision as of 15:17, 19 October 2021 by Tallison (talk | contribs) (added link for tika-eval metrics)
Jump to navigation Jump to search



Java based tool for identifying file formats using signatures and extracting metadata and text content from documents.
Homepage:http://tika.apache.org/
License:Apache License, Version 2.0
Platforms:Java
Function:Metadata Extraction,File Format Identification


Error in widget Ohloh Project: unable to write file /var/www/html/extensions/Widgets/compiled_templates/wrt6622d03aa939c4_54129160

Release Feed

Failed to load RSS feed from http://projects.apache.org/feeds/rss/tika.xml: There was a problem during the HTTP request: 404 Not Found

Issues Feed

2024-04-19 20:10:56
ASF GitHub Bot updated a link from ASF GitHub Bot logged '10m' on https://githu...
by ASF GitHub Bothttps://issues.apache.org/jira/secure/ViewProfile.jspa?name=githubbotgithubbothttp://activitystrea.ms/schema/1.0/person
2024-04-19 20:09:49
ASF GitHub Bot changed the Labels to 'pull-request-available'...
by ASF GitHub Bothttps://issues.apache.org/jira/secure/ViewProfile.jspa?name=githubbotgithubbothttp://activitystrea.ms/schema/1.0/person
2024-04-19 20:09:49
ASF GitHub Bot created a link from Caleb Rackliffe started progress on Description

Java based tool for identifying file formats using signatures and extracting metadata and text content from documents.

Functional notes

Apache Tika  is able to detect many different file formats. The following list names only the file formats which are supported by the parsers in the current Apache Tika version 1.9 and from which Tika is able to extract metadata and/or textual content:

  • HTML,
  • XML and derived formats,
  • MS Office document formats,
  • ODF,
  • iWorks document formats,
  • PDF,
  • EPUB,
  • RTF,
  • compression and packaging formats,
  • text formats,
  • feed and syndication formats,
  • CHM,
  • audio formats,
  • image formats,
  • video formats,
  • Java class files and archives,
  • source code,
  • mail formats,
  • DWG CAD format,
  • font formats,
  • scientific formats,
  • executable programs and libraries,
  • crypto formats.

For detailed information see Apache Tika 2.1.0 .

Apache Tika also processes embedded files and returns text and metadata from embedded files. The best way to see information on embedded files is to run tika-app with the -J option (e.g. java -jar tika-app-2.1.0.jar -J -t myfile.pdf), or if you're running tika-server, use the /rmeta endpoint.

tika-eval

In addition to extracting text and metadata from files, Tika also offers a tika-eval module that can be used for profiling content or comparing the results of two different text extractors. This module can be used to identify PDFs, for example, that may require Optical Character Recognition for reasonably reliable text (see tika-eval metrics for the Out-of-Vocabulary statistic.)

See tika-eval wiki

User Experiences

Development Activity

The Tika team released the 2.x branch over 2021, and is focusing new development only on the new branch. Please see Migrating to Tika 2.0.0 for notes on upgrading to the 2.x branch.