edu.mit.nlp
Class MyTextWrapper

java.lang.Object
  extended by edu.mit.nlp.segmenter.TextWrapper
      extended by edu.mit.nlp.MyTextWrapper

public class MyTextWrapper
extends TextWrapper


Field Summary
 
Fields inherited from class edu.mit.nlp.segmenter.TextWrapper
DEFAULT_WINDOW_LENGTH
 
Constructor Summary
MyTextWrapper(String fname)
           
 
Method Summary
 int[][] createSparseWordOccurrenceTable()
           
 int[][] createSparseWordOccurrenceTable(LexMap outmap)
           
 int[][] createWordOccurrenceTable(LexMap outmap)
           
 double[][] createWordOccurrenceTable(List wordList)
           
static int[] getNumSegs(MyTextWrapper[] texts)
           
 boolean getUseStems()
           
 boolean getUseTags()
           
 void parse(boolean useStems)
           
 void parseWindows(int windowLength, boolean useStems)
           
 void useTags()
           
 
Methods inherited from class edu.mit.nlp.segmenter.TextWrapper
convert2WordBasedSegmentation, createNgramOccurrenceMatrix, createWordOccurrenceMatrix2, createWordOccurrenceMatrix2, createWordOccurrenceTable, getLectureDuration, getLexMap, getRawSegmentedAnnotatedText, getRawSegmentedText, getRawText, getReferenceSeg, getSegmentedText, getSentence2WindowBreakMap, getSentenceCount, getSentenceString, getSentenceWordOffsetList, getStem2MostFrequentWordMap, getStem2MostFrequentWordMap, getStemmedRawText, getText, getTextFilename, getTotalWordTokenCount, getWindow2SentenceBreakMap, getWindowCount, getWindowLength, getWindowString, getWordCount, ouputSegmentedASRText, parse, parseFile2, parseWindows, removeStopWords, setPOSDelimiter, storeRawText, toString, useASRTypeParsing, useChoiBreaks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyTextWrapper

public MyTextWrapper(String fname)
Method Detail

parse

public void parse(boolean useStems)
Overrides:
parse in class TextWrapper

parseWindows

public void parseWindows(int windowLength,
                         boolean useStems)
Overrides:
parseWindows in class TextWrapper

createSparseWordOccurrenceTable

public int[][] createSparseWordOccurrenceTable()

createSparseWordOccurrenceTable

public int[][] createSparseWordOccurrenceTable(LexMap outmap)

createWordOccurrenceTable

public int[][] createWordOccurrenceTable(LexMap outmap)

createWordOccurrenceTable

public double[][] createWordOccurrenceTable(List wordList)

getNumSegs

public static int[] getNumSegs(MyTextWrapper[] texts)

useTags

public void useTags()
Overrides:
useTags in class TextWrapper

getUseStems

public boolean getUseStems()

getUseTags

public boolean getUseTags()


Copyright © 2008 MIT. All Rights Reserved.