Skip to content

Service to extract text from common office formats, using Apache Tika

License

Notifications You must be signed in to change notification settings

jistok/tikabooty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tikabooty

Service to extract text from common office formats, using Apache Tika

Named tikabooty since it combines Apache Tika with Spring Boot

  • The idea is that, in a document/text processing pipeline, you'll need to extract the text from common office format documents and, probably, do something like index or run named entity recognition (NER) on the result (or, dump it into a data store).

  • Input documents are sent via HTTP POST, like this (from the command line):

    curl -F "file=@my_file.pdf" https://hostname:8080/

The response will include the file name, plus any headers found in the document, and a "content" field, which will contain the entire text found within the file. The output is currently formatted as field_name + TAB + field_value + '\n'. Note that, if you deploy to Cloud Foundry, you can use either https or http.

When the client invokes this service, it is, in effect, making a tikabooty call.

Deploy in Cloud Foundry:

$ mvn package

$ cf login

$ cf push tikabooty -p ./target/tikabooty-0.0.1-SNAPSHOT.jar

About

Service to extract text from common office formats, using Apache Tika

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages