org.apache.lucene.analysis.ngram

Class EdgeNGramTokenizer.Side

public static class EdgeNGramTokenizer.Side extends Object

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

Field Detail

BACK

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

FRONT

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

Method Detail

getLabel

public String getLabel()

getSide

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