de.fu_berlin.ties.context
Interface Recognition

All Known Implementing Classes:
Extraction

public interface Recognition

A recognition has a type (class) and contains text.

Version:
$Revision: 1.1 $, $Date: 2004/02/02 18:35:58 $, $Author: siefkes $
Author:
Christian Siefkes

Method Summary
 String getText()
          Returns the recognized text fragment.
 String getType()
          Returns the type (class) of the recognition.
 boolean isSealed()
          Whether this recognition has been sealed.
 

Method Detail

getType

String getType()
Returns the type (class) of the recognition.

Returns:
the type (class)

getText

String getText()
Returns the recognized text fragment.

Returns:
the recognized text

isSealed

boolean isSealed()
Whether this recognition has been sealed. The text of a sealed recognition is stable and cannot be changed.

Returns:
true iff this recognition is sealed


Copyright © 2003-2004 Christian Siefkes. All Rights Reserved.