org.itc.irst.tcc.sre.data.context
Class SecondTargetContext

java.lang.Object
  extended by org.itc.irst.tcc.sre.data.context.LocalContext
      extended by org.itc.irst.tcc.sre.data.context.SecondTargetContext
All Implemented Interfaces:
SentenceFilter

public class SecondTargetContext
extends LocalContext

Since:
1.0
Version:
%I%, %G%
Author:
Claudio Giuliano

Field Summary
private static SecondTargetContext context
          A prototype for a global context such that only one instance class can ever exist.
(package private) static org.apache.log4j.Logger logger
          Define a static logger variable so that it references the Logger instance named SecondTargetContext.
 
Fields inherited from class org.itc.irst.tcc.sre.data.context.LocalContext
DEFAULT_LOCAL_CONTEXT_SIZE
 
Constructor Summary
private SecondTargetContext()
           
 
Method Summary
 Sentence filter(Sentence sent)
           
static SecondTargetContext getInstance()
          Returns SecondTargetContext object; only one SecondTargetContext instance can exist.
 
Methods inherited from class org.itc.irst.tcc.sre.data.context.LocalContext
getSize, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger
Define a static logger variable so that it references the Logger instance named SecondTargetContext.


context

private static SecondTargetContext context
A prototype for a global context such that only one instance class can ever exist.

Constructor Detail

SecondTargetContext

private SecondTargetContext()
Method Detail

getInstance

public static SecondTargetContext getInstance()
Returns SecondTargetContext object; only one SecondTargetContext instance can exist.

Returns:
SecondTargetContext object

filter

public Sentence filter(Sentence sent)