edu.stanford.nlp.ling
Interface HasContext

All Known Implementing Classes:
CoreLabel, CyclicCoreLabel

public interface HasContext

Author:
grenager

Method Summary
 java.lang.String after()
          Return the whitespace String after the word.
 java.lang.String before()
           
 java.lang.String originalText()
          Return the String which is the original character sequence of the token.
 void setAfter(java.lang.String after)
          Set the whitespace String after the word.
 void setBefore(java.lang.String before)
          Set the whitespace String before the word.
 void setOriginalText(java.lang.String originalText)
          Set the String which is the original character sequence of the token.
 

Method Detail

before

java.lang.String before()
Returns:
the String before the word

setBefore

void setBefore(java.lang.String before)
Set the whitespace String before the word.

Parameters:
before - the whitespace String before the word

originalText

java.lang.String originalText()
Return the String which is the original character sequence of the token.

Returns:
The original character sequence of the token

setOriginalText

void setOriginalText(java.lang.String originalText)
Set the String which is the original character sequence of the token.

Parameters:
originalText - The original character sequence of the token

after

java.lang.String after()
Return the whitespace String after the word.

Returns:
The whitespace String after the word

setAfter

void setAfter(java.lang.String after)
Set the whitespace String after the word.

Parameters:
after - The whitespace String after the word


Stanford NLP Group