Util
Class WindowedDoc
java.lang.Object
Util.WindowedDoc
public class WindowedDoc
- extends java.lang.Object
Implements methods needed by a Textpresso document to prepare it
for clustering.
- Author:
- davidc
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowedDoc
public WindowedDoc(java.lang.String wbid)
getWindows
public java.util.List<java.lang.String>[] getWindows()
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
getIdxSentences
public int[][] getIdxSentences(VectorManager vm)
getSentences
public java.lang.String[][] getSentences()
throws java.io.FileNotFoundException,
java.io.IOException
- Returns:
- Fixed sentences
- Throws:
java.io.IOException
java.io.FileNotFoundException
getFixedWordSentences
public java.lang.String[][] getFixedWordSentences()
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
checkSourceExists
public void checkSourceExists()
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException