public class WeightedFragListBuilder extends BaseFragListBuilder
FragListBuilder
.MARGIN_DEFAULT, MIN_FRAG_CHAR_SIZE_FACTOR
Constructor and Description |
---|
WeightedFragListBuilder() |
WeightedFragListBuilder(int margin) |
Modifier and Type | Method and Description |
---|---|
FieldFragList |
createFieldFragList(FieldPhraseList fieldPhraseList,
int fragCharSize)
create a FieldFragList.
|
acceptPhrase, createFieldFragList
public WeightedFragListBuilder()
public WeightedFragListBuilder(int margin)
public FieldFragList createFieldFragList(FieldPhraseList fieldPhraseList, int fragCharSize)
FragListBuilder
fieldPhraseList
- FieldPhraseList objectfragCharSize
- the length (number of chars) of a fragmentCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.