Thursday, August 09, 2007

Making it easier to use TextServices programmatically

I have produced a collection of resources which make using TextServices much easier.
These things are included
  1. A Perl client for the text classification service (only 6 lines). Which can easily be extended to the other services. ("TextClassificationClient.pl").
  2. A Ruby client for the text classification service. Which, again, can be extended to use the other services. ("TextClassificationClient.rb").
  3. A Java graphical client for all the services (class "Main"). Which can be run on Mac and Windows by double clicking the jar file "TextServicesClients.jar".
  4. Example Java clients for each of the services (in the package "textservicesclients").
  5. Java binding stubs that the clients (from point 4) make use of. These were created by WSDL2Java from Apache axis.
  6. All the jars that you need to include in your classpath to use the Java clients (in folder "lib").
I use these clients myself and thought they may be of use to anyone who ever uses these services. Accessing web services though Perl and Ruby is easy, Java is much harder, but also much more powerful.

The archive file is linked to on the text services main page
Or you can use this direct link