MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.sms.ftstore
Class NGramExtractor

java.lang.Object
  extended by ch.ethz.mxquery.sms.ftstore.NGramExtractor

public class NGramExtractor
extends java.lang.Object

Implementation of an NGram Extractor


Constructor Summary
NGramExtractor()
           
 
Method Summary
 java.util.Vector extractNGrams(java.lang.String word, int size, java.lang.String position)
          extracts NGrams out of word "word" of size 2 to "size"
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NGramExtractor

public NGramExtractor()
Method Detail

extractNGrams

public java.util.Vector extractNGrams(java.lang.String word,
                                      int size,
                                      java.lang.String position)
extracts NGrams out of word "word" of size 2 to "size"


MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich