public class AndSegmentItem extends SegmentItem implements BlockItem
Item.ItemCreator, Item.ItemType
connectedBacklink, connectedItem, connectivity, DEFAULT_WEIGHT, explicitSignificance, significance, uniqueID
Constructor and Description |
---|
AndSegmentItem(PhraseSegmentItem item) |
AndSegmentItem(String rawWord,
boolean isFromQuery,
boolean stemmed) |
AndSegmentItem(String rawWord,
String current,
boolean isFromQuery,
boolean stemmed) |
Modifier and Type | Method and Description |
---|---|
String |
getIndexName() |
Item.ItemType |
getItemType()
Return the enumerated type of this item.
|
String |
getName()
Returns the name of this item
|
void |
setWeight(int w)
Sets the relative importance of this term
|
addItem, addItem, clone, disclose, getNormalized, getNumWords, getOrigin, getRawWord, getSegmentingRule, isFromQuery, isFromUser, isLocked, isStemmed, isWords, lock, removeItem, removeItem, setFromUser, setSegmentingRule, stringValue
adding, appendBodyString, encode, encodeThis, encodingArity, ensureNotInSubtree, equals, getItem, getItemCount, getItemIndex, getItemIterator, getTermCount, hashCode, insertNullFirstItem, setIndexName, setItem, shouldParenthize
addAnnotation, appendHeadingString, getAnnotation, getBytes, getCode, getCreator, getLabel, getLanguage, getParent, getWeight, hasAnnotation, hasConnectivityBackLink, hasUniqueID, isFilter, isFromSpecialToken, isProtected, isRanked, isRoot, putBytes, putString, setCreator, setFilter, setFromSpecialToken, setHasUniqueID, setLabel, setLanguage, setParent, setPositionData, setProtected, setRanked, toString, usePositionData
finalize, getClass, notify, notifyAll, wait, wait, wait
getOrigin, getRawWord, getSegmentingRule, isFromQuery, isStemmed, isWords, stringValue
getNumWords
public AndSegmentItem(String rawWord, boolean isFromQuery, boolean stemmed)
public AndSegmentItem(String rawWord, String current, boolean isFromQuery, boolean stemmed)
public AndSegmentItem(PhraseSegmentItem item)
public Item.ItemType getItemType()
Item
getItemType
in class Item
@NonNull public String getIndexName()
getIndexName
in interface HasIndexItem
Copyright © 2017. All rights reserved.