public static class FieldPhraseList.WeightedPhraseInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FieldPhraseList.WeightedPhraseInfo.Toffs |
Constructor and Description |
---|
WeightedPhraseInfo(LinkedList<FieldTermStack.TermInfo> terms,
float boost) |
WeightedPhraseInfo(LinkedList<FieldTermStack.TermInfo> terms,
float boost,
int number) |
Modifier and Type | Method and Description |
---|---|
int |
getEndOffset() |
int |
getStartOffset() |
boolean |
isOffsetOverlap(FieldPhraseList.WeightedPhraseInfo other) |
String |
toString() |
public WeightedPhraseInfo(LinkedList<FieldTermStack.TermInfo> terms, float boost)
public WeightedPhraseInfo(LinkedList<FieldTermStack.TermInfo> terms, float boost, int number)
public int getStartOffset()
public int getEndOffset()
public boolean isOffsetOverlap(FieldPhraseList.WeightedPhraseInfo other)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.