public class AnchorTextBasicNormalizer extends Object implements AnchorTextNormalizer
| Constructor and Description |
|---|
AnchorTextBasicNormalizer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStopWord(String word) |
String |
normalize(String anchor) |
String |
process(String anchor)
An auxiliary method which performs any other types of normalization.
|
String |
removeStopWords(String anchor)
Removes the stop-words
|
String |
stem(String anchor)
Stemmer.
|
public boolean isStopWord(String word)
public String normalize(String anchor)
normalize in interface AnchorTextNormalizeranchor - original line of anchor textpublic String removeStopWords(String anchor)
AnchorTextNormalizerremoveStopWords in interface AnchorTextNormalizeranchor - original line of anchor textpublic String stem(String anchor)
AnchorTextNormalizerstem in interface AnchorTextNormalizeranchor - original line of anchor textpublic String process(String anchor)
AnchorTextNormalizerprocess in interface AnchorTextNormalizeranchor - original line of anchor textCopyright © 2015. All rights reserved.