Interface com.phrasys.events.WordListener


public interface WordListener
extends java.util.EventListener

All components in the processing chain which operate on single tokens need to implement this interface and register with one of the previous components (in the processing pipeline).

The method wordReceived() will be called each time a new token arrives.

Version:
1.0 (15/09/00)
Author:
Oliver Mason

Method Index

 o wordReceived(WordEvent)
A new element has arrived.

Method Detail

 o wordReceived
public void wordReceived(WordEvent event)
          A new element has arrived.
Parameters:
event - the event containing the word's features.