public class TextIndex extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.dmg.org/PMML-4_2}Extension" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_2}TextIndexNormalization" maxOccurs="unbounded" minOccurs="0"/> <group ref="{http://www.dmg.org/PMML-4_2}EXPRESSION"/> </sequence> <attribute name="textField" use="required" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" /> <attribute name="localTermWeights" default="termFrequency"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="termFrequency"/> <enumeration value="binary"/> <enumeration value="logarithmic"/> <enumeration value="augmentedNormalizedTermFrequency"/> </restriction> </simpleType> </attribute> <attribute name="isCaseSensitive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="maxLevenshteinDistance" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" /> <attribute name="countHits" default="allHits"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="allHits"/> <enumeration value="bestHits"/> </restriction> </simpleType> </attribute> <attribute name="wordSeparatorCharacterRE" type="{http://www.w3.org/2001/XMLSchema}string" default="\s" /> <attribute name="tokenize" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Aggregate |
aggregate |
protected Apply |
apply |
protected Constant |
constant |
protected String |
countHits |
protected Discretize |
discretize |
protected List<Extension> |
extensions |
protected FieldRef |
fieldRef |
protected Boolean |
isCaseSensitive |
protected String |
localTermWeights |
protected MapValues |
mapValues |
protected BigInteger |
maxLevenshteinDistance |
protected NormContinuous |
normContinuous |
protected NormDiscrete |
normDiscrete |
protected String |
textField |
protected TextIndex |
textIndex |
protected List<TextIndexNormalization> |
textIndexNormalizations |
protected Boolean |
tokenize |
protected String |
wordSeparatorCharacterRE |
Constructor and Description |
---|
TextIndex() |
Modifier and Type | Method and Description |
---|---|
Aggregate |
getAggregate()
Gets the value of the aggregate property.
|
Apply |
getApply()
Gets the value of the apply property.
|
Constant |
getConstant()
Gets the value of the constant property.
|
String |
getCountHits()
Gets the value of the countHits property.
|
Discretize |
getDiscretize()
Gets the value of the discretize property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
FieldRef |
getFieldRef()
Gets the value of the fieldRef property.
|
String |
getLocalTermWeights()
Gets the value of the localTermWeights property.
|
MapValues |
getMapValues()
Gets the value of the mapValues property.
|
BigInteger |
getMaxLevenshteinDistance()
Gets the value of the maxLevenshteinDistance property.
|
NormContinuous |
getNormContinuous()
Gets the value of the normContinuous property.
|
NormDiscrete |
getNormDiscrete()
Gets the value of the normDiscrete property.
|
String |
getTextField()
Gets the value of the textField property.
|
TextIndex |
getTextIndex()
Gets the value of the textIndex property.
|
List<TextIndexNormalization> |
getTextIndexNormalizations()
Gets the value of the textIndexNormalizations property.
|
String |
getWordSeparatorCharacterRE()
Gets the value of the wordSeparatorCharacterRE property.
|
boolean |
isIsCaseSensitive()
Gets the value of the isCaseSensitive property.
|
boolean |
isTokenize()
Gets the value of the tokenize property.
|
void |
setAggregate(Aggregate value)
Sets the value of the aggregate property.
|
void |
setApply(Apply value)
Sets the value of the apply property.
|
void |
setConstant(Constant value)
Sets the value of the constant property.
|
void |
setCountHits(String value)
Sets the value of the countHits property.
|
void |
setDiscretize(Discretize value)
Sets the value of the discretize property.
|
void |
setFieldRef(FieldRef value)
Sets the value of the fieldRef property.
|
void |
setIsCaseSensitive(Boolean value)
Sets the value of the isCaseSensitive property.
|
void |
setLocalTermWeights(String value)
Sets the value of the localTermWeights property.
|
void |
setMapValues(MapValues value)
Sets the value of the mapValues property.
|
void |
setMaxLevenshteinDistance(BigInteger value)
Sets the value of the maxLevenshteinDistance property.
|
void |
setNormContinuous(NormContinuous value)
Sets the value of the normContinuous property.
|
void |
setNormDiscrete(NormDiscrete value)
Sets the value of the normDiscrete property.
|
void |
setTextField(String value)
Sets the value of the textField property.
|
void |
setTextIndex(TextIndex value)
Sets the value of the textIndex property.
|
void |
setTokenize(Boolean value)
Sets the value of the tokenize property.
|
void |
setWordSeparatorCharacterRE(String value)
Sets the value of the wordSeparatorCharacterRE property.
|
protected List<TextIndexNormalization> textIndexNormalizations
protected Aggregate aggregate
protected Apply apply
protected TextIndex textIndex
protected MapValues mapValues
protected Discretize discretize
protected NormDiscrete normDiscrete
protected NormContinuous normContinuous
protected FieldRef fieldRef
protected Constant constant
protected String textField
protected String localTermWeights
protected Boolean isCaseSensitive
protected BigInteger maxLevenshteinDistance
protected String countHits
protected String wordSeparatorCharacterRE
protected Boolean tokenize
public List<Extension> getExtensions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
public List<TextIndexNormalization> getTextIndexNormalizations()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the textIndexNormalizations property.
For example, to add a new item, do as follows:
getTextIndexNormalizations().add(newItem);
Objects of the following type(s) are allowed in the list
TextIndexNormalization
public Aggregate getAggregate()
Aggregate
public void setAggregate(Aggregate value)
value
- allowed object is
Aggregate
public Apply getApply()
Apply
public void setApply(Apply value)
value
- allowed object is
Apply
public TextIndex getTextIndex()
TextIndex
public void setTextIndex(TextIndex value)
value
- allowed object is
TextIndex
public MapValues getMapValues()
MapValues
public void setMapValues(MapValues value)
value
- allowed object is
MapValues
public Discretize getDiscretize()
Discretize
public void setDiscretize(Discretize value)
value
- allowed object is
Discretize
public NormDiscrete getNormDiscrete()
NormDiscrete
public void setNormDiscrete(NormDiscrete value)
value
- allowed object is
NormDiscrete
public NormContinuous getNormContinuous()
NormContinuous
public void setNormContinuous(NormContinuous value)
value
- allowed object is
NormContinuous
public FieldRef getFieldRef()
FieldRef
public void setFieldRef(FieldRef value)
value
- allowed object is
FieldRef
public Constant getConstant()
Constant
public void setConstant(Constant value)
value
- allowed object is
Constant
public String getTextField()
String
public void setTextField(String value)
value
- allowed object is
String
public String getLocalTermWeights()
String
public void setLocalTermWeights(String value)
value
- allowed object is
String
public boolean isIsCaseSensitive()
Boolean
public void setIsCaseSensitive(Boolean value)
value
- allowed object is
Boolean
public BigInteger getMaxLevenshteinDistance()
BigInteger
public void setMaxLevenshteinDistance(BigInteger value)
value
- allowed object is
BigInteger
public String getCountHits()
String
public void setCountHits(String value)
value
- allowed object is
String
public String getWordSeparatorCharacterRE()
String
public void setWordSeparatorCharacterRE(String value)
value
- allowed object is
String
public boolean isTokenize()
Boolean
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.