1

I am checking out Tika for an NER task and running the NER example. I can get my file meta data by hitting the documented meta endpoint:

curl -T test.txt http://localhost:9998/meta  --header "Accept: application/json" | jq

How do I do NER?

Tom
  • 981
  • 11
  • 24

1 Answers1

0

Download Tika Server from the Apache Tika website and start it

java -jar tika-server.jar

Use curl to send a file to the Tika Server for NER

curl -T yourfile.txt http://localhost:9998/ner --header "Accept: application/json" | jq

Replace yourfile.txt with the path to the file you want to analyze.

Note: Tika's NER capabilities might not be as advanced as specialized tools, but this approach can provide basic NER functionality.

#Apache-Age

saima ali
  • 133
  • 9