org.apache.lucene.analysis.ngram
Class EdgeNGramTokenFilter.Side

java.lang.Object
  extended by org.apache.lucene.analysis.ngram.EdgeNGramTokenFilter.Side
Enclosing class:
EdgeNGramTokenFilter

public static class EdgeNGramTokenFilter.Side
extends Object

Specifies which side of the input the n-gram should be generated from


Field Summary
static EdgeNGramTokenFilter.Side BACK
          Get the n-gram from the end of the input
static EdgeNGramTokenFilter.Side FRONT
          Get the n-gram from the front of the input
 
Method Summary
 String getLabel()
           
static EdgeNGramTokenFilter.Side getSide(String sideName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FRONT

public static EdgeNGramTokenFilter.Side FRONT
Get the n-gram from the front of the input


BACK

public static EdgeNGramTokenFilter.Side BACK
Get the n-gram from the end of the input

Method Detail

getLabel

public String getLabel()

getSide

public static EdgeNGramTokenFilter.Side getSide(String sideName)


Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.