Drools :: PMML - Compiler 6.2.0.CR3

org.dmg.pmml.pmml_4_2.descr
Class TextIndex

java.lang.Object
  extended by org.dmg.pmml.pmml_4_2.descr.TextIndex
All Implemented Interfaces:
Serializable

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>
 

See Also:
Serialized Form

Field Summary
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 Summary
TextIndex()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensions

protected List<Extension> extensions

textIndexNormalizations

protected List<TextIndexNormalization> textIndexNormalizations

aggregate

protected Aggregate aggregate

apply

protected Apply apply

textIndex

protected TextIndex textIndex

mapValues

protected MapValues mapValues

discretize

protected Discretize discretize

normDiscrete

protected NormDiscrete normDiscrete

normContinuous

protected NormContinuous normContinuous

fieldRef

protected FieldRef fieldRef

constant

protected Constant constant

textField

protected String textField

localTermWeights

protected String localTermWeights

isCaseSensitive

protected Boolean isCaseSensitive

maxLevenshteinDistance

protected BigInteger maxLevenshteinDistance

countHits

protected String countHits

wordSeparatorCharacterRE

protected String wordSeparatorCharacterRE

tokenize

protected Boolean tokenize
Constructor Detail

TextIndex

public TextIndex()
Method Detail

getExtensions

public List<Extension> getExtensions()
Gets the value of the extensions property.

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


getTextIndexNormalizations

public List<TextIndexNormalization> getTextIndexNormalizations()
Gets the value of the textIndexNormalizations property.

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


getAggregate

public Aggregate getAggregate()
Gets the value of the aggregate property.

Returns:
possible object is Aggregate

setAggregate

public void setAggregate(Aggregate value)
Sets the value of the aggregate property.

Parameters:
value - allowed object is Aggregate

getApply

public Apply getApply()
Gets the value of the apply property.

Returns:
possible object is Apply

setApply

public void setApply(Apply value)
Sets the value of the apply property.

Parameters:
value - allowed object is Apply

getTextIndex

public TextIndex getTextIndex()
Gets the value of the textIndex property.

Returns:
possible object is TextIndex

setTextIndex

public void setTextIndex(TextIndex value)
Sets the value of the textIndex property.

Parameters:
value - allowed object is TextIndex

getMapValues

public MapValues getMapValues()
Gets the value of the mapValues property.

Returns:
possible object is MapValues

setMapValues

public void setMapValues(MapValues value)
Sets the value of the mapValues property.

Parameters:
value - allowed object is MapValues

getDiscretize

public Discretize getDiscretize()
Gets the value of the discretize property.

Returns:
possible object is Discretize

setDiscretize

public void setDiscretize(Discretize value)
Sets the value of the discretize property.

Parameters:
value - allowed object is Discretize

getNormDiscrete

public NormDiscrete getNormDiscrete()
Gets the value of the normDiscrete property.

Returns:
possible object is NormDiscrete

setNormDiscrete

public void setNormDiscrete(NormDiscrete value)
Sets the value of the normDiscrete property.

Parameters:
value - allowed object is NormDiscrete

getNormContinuous

public NormContinuous getNormContinuous()
Gets the value of the normContinuous property.

Returns:
possible object is NormContinuous

setNormContinuous

public void setNormContinuous(NormContinuous value)
Sets the value of the normContinuous property.

Parameters:
value - allowed object is NormContinuous

getFieldRef

public FieldRef getFieldRef()
Gets the value of the fieldRef property.

Returns:
possible object is FieldRef

setFieldRef

public void setFieldRef(FieldRef value)
Sets the value of the fieldRef property.

Parameters:
value - allowed object is FieldRef

getConstant

public Constant getConstant()
Gets the value of the constant property.

Returns:
possible object is Constant

setConstant

public void setConstant(Constant value)
Sets the value of the constant property.

Parameters:
value - allowed object is Constant

getTextField

public String getTextField()
Gets the value of the textField property.

Returns:
possible object is String

setTextField

public void setTextField(String value)
Sets the value of the textField property.

Parameters:
value - allowed object is String

getLocalTermWeights

public String getLocalTermWeights()
Gets the value of the localTermWeights property.

Returns:
possible object is String

setLocalTermWeights

public void setLocalTermWeights(String value)
Sets the value of the localTermWeights property.

Parameters:
value - allowed object is String

isIsCaseSensitive

public boolean isIsCaseSensitive()
Gets the value of the isCaseSensitive property.

Returns:
possible object is Boolean

setIsCaseSensitive

public void setIsCaseSensitive(Boolean value)
Sets the value of the isCaseSensitive property.

Parameters:
value - allowed object is Boolean

getMaxLevenshteinDistance

public BigInteger getMaxLevenshteinDistance()
Gets the value of the maxLevenshteinDistance property.

Returns:
possible object is BigInteger

setMaxLevenshteinDistance

public void setMaxLevenshteinDistance(BigInteger value)
Sets the value of the maxLevenshteinDistance property.

Parameters:
value - allowed object is BigInteger

getCountHits

public String getCountHits()
Gets the value of the countHits property.

Returns:
possible object is String

setCountHits

public void setCountHits(String value)
Sets the value of the countHits property.

Parameters:
value - allowed object is String

getWordSeparatorCharacterRE

public String getWordSeparatorCharacterRE()
Gets the value of the wordSeparatorCharacterRE property.

Returns:
possible object is String

setWordSeparatorCharacterRE

public void setWordSeparatorCharacterRE(String value)
Sets the value of the wordSeparatorCharacterRE property.

Parameters:
value - allowed object is String

isTokenize

public boolean isTokenize()
Gets the value of the tokenize property.

Returns:
possible object is Boolean

setTokenize

public void setTokenize(Boolean value)
Sets the value of the tokenize property.

Parameters:
value - allowed object is Boolean

Drools :: PMML - Compiler 6.2.0.CR3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.