public class SimpleFragmentsBuilder extends BaseFragmentsBuilder
COLORED_POST_TAGS, COLORED_PRE_TAGS, postTags, preTags
Constructor and Description |
---|
SimpleFragmentsBuilder()
a constructor.
|
SimpleFragmentsBuilder(BoundaryScanner bs) |
SimpleFragmentsBuilder(String[] preTags,
String[] postTags)
a constructor.
|
SimpleFragmentsBuilder(String[] preTags,
String[] postTags,
BoundaryScanner bs) |
Modifier and Type | Method and Description |
---|---|
List<FieldFragList.WeightedFragInfo> |
getWeightedFragInfoList(List<FieldFragList.WeightedFragInfo> src)
do nothing. return the source list.
|
createFragment, createFragment, createFragments, createFragments, getFields, getFieldValues, getFragmentSource, getFragmentSource, getFragmentSourceMSO, getMultiValuedSeparator, getPostTag, getPostTag, getPreTag, getPreTag, makeFragment, makeFragment, setMultiValuedSeparator
public SimpleFragmentsBuilder()
public SimpleFragmentsBuilder(String[] preTags, String[] postTags)
preTags
- array of pre-tags for markup terms.postTags
- array of post-tags for markup terms.public SimpleFragmentsBuilder(BoundaryScanner bs)
public SimpleFragmentsBuilder(String[] preTags, String[] postTags, BoundaryScanner bs)
public List<FieldFragList.WeightedFragInfo> getWeightedFragInfoList(List<FieldFragList.WeightedFragInfo> src)
getWeightedFragInfoList
in class BaseFragmentsBuilder