org.apache.lucene.analysis.ngram

Class EdgeNGramTokenFilter.Side

public static class EdgeNGramTokenFilter.Side extends Object

Specifies which side of the input the n-gram should be generated from
Field Summary
static EdgeNGramTokenFilter.SideBACK
Get the n-gram from the end of the input
static EdgeNGramTokenFilter.SideFRONT
Get the n-gram from the front of the input
Method Summary
StringgetLabel()
static EdgeNGramTokenFilter.SidegetSide(String sideName)

Field Detail

BACK

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

FRONT

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

Method Detail

getLabel

public String getLabel()

getSide

public static EdgeNGramTokenFilter.Side getSide(String sideName)
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.