implemented necassary test case

Former-commit-id: d1115558dc86f88372ee815300c688f719934f18
This commit is contained in:
Jeremy Long
2013-09-27 18:30:22 -04:00
parent 03f504cadc
commit 861bdb47ed
2 changed files with 38 additions and 23 deletions

View File

@@ -47,6 +47,24 @@ public final class TokenPairConcatenatingFilter extends TokenFilter {
*/
private final LinkedList<String> words;
/**
* Returns the previous word. This is needed in the test cases.
*
* @return te previous word
*/
protected String getPreviousWord() {
return previousWord;
}
/**
* Returns the words list. This is needed in the test cases.
*
* @return the words list
*/
protected LinkedList<String> getWords() {
return words;
}
/**
* Constructs a new TokenPairConcatenatingFilter.
*