org.itc.irst.tcc.sre.data
Class Sentence

java.lang.Object
  extended by org.itc.irst.tcc.sre.data.Sentence

public class Sentence
extends java.lang.Object

TO DO

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

Field Summary
static int DEFAULT_LOCAL_CONTEXT_SIZE
           
static int GLOBAL_CONTEXT_SIZE
           
(package private) static org.apache.log4j.Logger logger
          Define a static logger variable so that it references the Logger instance named Sentence.
(package private)  java.util.List sent
           
 
Constructor Summary
Sentence()
           
Sentence(java.util.List sent)
           
Sentence(java.lang.String t)
           
 
Method Summary
 Sentence fragment(int beginIndex)
           
 Sentence fragment(int fromIndex, int toIndex)
           
 int length()
           
 java.lang.String toString()
           
 Word wordAt(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 Sentence.


GLOBAL_CONTEXT_SIZE

public static final int GLOBAL_CONTEXT_SIZE
See Also:
Constant Field Values

DEFAULT_LOCAL_CONTEXT_SIZE

public static final int DEFAULT_LOCAL_CONTEXT_SIZE
See Also:
Constant Field Values

sent

java.util.List sent
Constructor Detail

Sentence

public Sentence()

Sentence

public Sentence(java.lang.String t)

Sentence

Sentence(java.util.List sent)
Method Detail

wordAt

public Word wordAt(int i)

length

public int length()

fragment

public Sentence fragment(int beginIndex)

fragment

public Sentence fragment(int fromIndex,
                         int toIndex)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object