de.aitools.ie.decomposition.chunker
Class SlidingWindow

java.lang.Object
  extended by de.aitools.ie.decomposition.chunker.Chunker
      extended by de.aitools.ie.decomposition.chunker.SlidingWindow
All Implemented Interfaces:
java.util.Iterator<java.lang.String[]>
Direct Known Subclasses:
NGramChunker

public class SlidingWindow
extends Chunker

Author:
martin.trenkmann@uni-weimar.de

Constructor Summary
SlidingWindow(Tokenizer tokenizer, int windowSize, int shiftSize)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.String[] next()
           
 
Methods inherited from class de.aitools.ie.decomposition.chunker.Chunker
nextAsDeepCopy, remove, setText, setTokenizer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlidingWindow

public SlidingWindow(Tokenizer tokenizer,
                     int windowSize,
                     int shiftSize)
Method Detail

hasNext

public boolean hasNext()

next

public java.lang.String[] next()