de.fu_berlin.ties.context.sensor
Interface Sensor
- All Known Implementing Classes:
- BaseSensor, ListSensor
public interface Sensor
A sensor is an object that looks up information for a token, for example
semantic information from gazetteers or thesauri.
- Version:
- $Revision: 1.2 $, $Date: 2004/07/07 08:15:29 $, $Author: siefkes $
- Author:
- Christian Siefkes
Method Summary |
KeyValue[] |
lookup(String token)
Looks up a token and returns the information as an array of key/value
pairs (values can be null , but null are not
allowed). |
lookup
KeyValue[] lookup(String token)
- Looks up a token and returns the information as an array of key/value
pairs (values can be
null
, but null
are not
allowed). If no information for the given token can be found, an
empty array (length 0) is returned.
- Parameters:
token
- the token to look up
- Returns:
- an array of key/value pairs describing the token
Copyright © 2003-2004 Christian Siefkes. All Rights Reserved.