edu.stanford.nlp.ling
Interface HasContext

All Known Implementing Classes:
CoreLabel, CyclicCoreLabel, IndexedWord

public interface HasContext

Author:
grenager

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

Method Detail

before

String before()
Returns:
the String before the word

setBefore

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

Parameters:
before - the whitespace String before the word

originalText

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(String originalText)
Set the String which is the original character sequence of the token.

Parameters:
originalText - The original character sequence of the token

after

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

Returns:
The whitespace String after the word

setAfter

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

Parameters:
after - The whitespace String after the word


Stanford NLP Group