You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by Apache Wiki <wi...@apache.org> on 2016/03/04 20:34:36 UTC
[Tika Wiki] Update of "GeoTopicParser" by MadhavSharan
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tika Wiki" for change notification.
The "GeoTopicParser" page has been changed by MadhavSharan:
https://wiki.apache.org/tika/GeoTopicParser?action=diff&rev1=13&rev2=14
Comment:
Removed hard coded version 1.9 to <LATEST-VERSION>
With those files in place, let's use the GeoTopicParser using Tika-App:
{{{
- $ java -classpath tika-app-1.9-SNAPSHOT.jar:$HOME/src/location-ner-model:$HOME/src/geotopic-mime org.apache.tika.cli.TikaCLI -m polar.geot
+ $ java -classpath tika-app-<LATEST-VERSION>-SNAPSHOT.jar:$HOME/src/location-ner-model:$HOME/src/geotopic-mime org.apache.tika.cli.TikaCLI -m polar.geot
}}}
This should output:
@@ -171, +171 @@
First, start up the Tika server with your NER model and .geot MIME type definition on the classpath:
{{{
- java -classpath $HOME/src/location-ner-model:$HOME/src/geotopic-mime:tika-server/target/tika-server-1.9-SNAPSHOT.jar org.apache.tika.server.TikaServerCli
+ java -classpath $HOME/src/location-ner-model:$HOME/src/geotopic-mime:tika-server/target/tika-server-<LATEST-VERSION>-SNAPSHOT.jar org.apache.tika.server.TikaServerCli
}}}
Then, try calling the `/rmeta` service to get the returned metadata: