Direkt zum Inhalt
AliBaba logo

    Ali Baba - PubMed as a graph

Developer Instructions

Creating a key store for Java Web Start

see also: http://www.cokeandcode.com/info/webstart-howto.html.

Signing jars with your key store

see also: http://www.cokeandcode.com/info/webstart-howto.html.

Running annotation pipeline filters

....

Adding a new class of entities to Ali Baba

Right now, adding a new class of entities to Ali Baba requires some extensions to the code. Also, a new DictFilter service that uses a dictionary of your new entity names must be up and running (see Running annotation pipeline filters). The following code extensions are necessary:

  • class de.hu.wbi.textmining.representation.Entity: add new type variables (int and char)
  • class de.hu.wbi.textmining.Constants: expand getEntityType-methods
  • class de.hu.wbi.textmining.visualization.alibaba.Constants: expand LABEL_ENTITIES (add a new label to the array at position denoted by the entity's integer type value), FILLCOLOR_PALETTE (add a new color, preferably from corresponding span class in alibaba.css - see below, to the array at position denoted by the entity's integer type value), getEntityTypeFromLabel, getDBURIForEntityType (for linking your new entities to an external source)
  • class de.hu.wbi.textmining.visualization.servlets.TextminingPipeline: add a new pipeline request, pointing to your new DictFilter, to method annotate.
  • alibaba.xsl: add a new rule for your entity tags introduced by the new DictFilter service that surrounds entity names with span tags.
  • alibaba.css: add a new span class for your entity class

Adding a new type of associatons to Ali Baba

First, start a new annotation filter, e.g. a co-occurrence filter (see Running annotation pipeline filters). Then extend:

  • class de.hu.wbi.textmining.visualization.servlets.TextminingPipeline: add a new pipeline request, pointing to your new filter, to method annotate.

Finally, copy this newly compiled class to /local/tomcat/webapps/ROOT/WEB-INF/classes/de/hu/wbi/textmining/visualization/servlets/.

Last changes: Mar 27 2006 JH