j-calais -- Java interface to the OpenCalais API

Submitted by elmer.garduno on August 05, 2010 - 10:45

 Java interface to the OpenCalais API, using the REST API invocation and JSON outputFormat for low overhead.

Flash AS3 Class

Submitted by FranSan on February 08, 2010 - 09:32

Andzol shares this Flash AS3 class for OpenCalais. Also check out the Forum discussion thread here.

python-calais -- Python interface to the OpenCalais API

Submitted by jdimov on February 23, 2009 - 22:14

This Python module is a wrapper around the OpenCalais API. It makes REST calls to the OpenCalais API via HTTP POST, then parses and simplifies the JSON responses returned by OpenCalais. You can then access the response data in a much more pythonic manner.

Tested with Python 2.5.

Calais Geotagging Tutorial

Submitted by gvellut on February 23, 2009 - 21:24

I have written a small tutorial showing how to use features from the 3.1 release of the Calais service to geotag a text and display the identified locations on a map. The tutorial can be found on my web site and a running version of the demo application is here.

Author: Guilhem Vellut

Code Sample for Relevance in JSON Official Application

Submitted by admin on February 20, 2009 - 08:27

The following code shows you how to extend your existing code to process the new relevance information in Calais RDF output. The attached zip file has the changed code of the JSON Java package, which includes relevance information in the full JSON representation.

The method that parses the relevance information is shown below (taken from com.clearforest.calais.full.CalaisJSONIf in the attached zip file).

AttachmentSize
relevance_R4.zip9.05 KB

Calais PHP and JSON Demos Official Application

Submitted by admin on February 20, 2009 - 07:25

This PHP code (server and client) demonstrates how to use Calais with PHP. We offer both the raw representation of the Internet browser and a document viewer  representation highlighting all the entities in the text. Download the attached file, which contains documentation as well as source files.

To enable your PHP demo in Safari and Firefox, see this posting from Pete Warden. 

The example of a JSON wrapper – code that runs on the server and converts the RDF into JSON format - is also presented. We will be releasing (soon) a much simpler JSON wrapper (based on RDF) and another format is based in Simple Output Format, as well as a Java application controlling the Calais Web Service.

Stay tuned.

AttachmentSize
opencalais_php_demo.tar_.gz5.22 MB
opencalais_php_demo.zip3.97 MB
Syndicate content