Text Utilities Action Set: Syntax
Provides a variety of utility actions for text analytics
tmAstore Action
Creates a text mining analytic store from text mining tables.
| See: | What Does the tmAstore Action Do? |
|---|---|
| Example: | Create an Analytic Store and Use It to Score Documents |
Summary: Input and Output Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parameterconfig |
— |
specifies the name of the input CAS table that contains the parsing configuration information. |
|
required parameterdocuments |
— |
specifies the input CAS table of documents to be scored. |
|
— |
specifies the input table containing Liti entries. | |
|
— |
specifies the input table containing multiterm entries. | |
|
required parametertermTopics |
— |
specifies the input table that contains the term-by-topic sparse matrix information. |
|
required parameterterms |
— |
specifies the name of the input table that contains information about the terms in the document collection. |
|
required parametertopics |
— |
specifies the input table containing the topics that were discovered. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametersaveState |
— |
specifies the name of the table for storing the scoring model. |
Parameter Descriptions
* config={castable}
specifies the name of the input CAS table that contains the parsing configuration information.
For more information about specifying the config parameter, see the common castable (Form 1) parameter.
| Aliases | parseConfig |
|---|---|
| scoreConfig |
docId="variable-name"
specifies the variable containing the document Id.
| Default | "DOC_ID" |
|---|
* documents={castable}
specifies the input CAS table of documents to be scored.
For more information about specifying the documents parameter, see the common castable (Form 1) parameter.
liti={castable}
specifies the input table containing Liti entries.
For more information about specifying the liti parameter, see the common castable (Form 1) parameter.
multiterm={castable}
specifies the input table containing multiterm entries.
For more information about specifying the multiterm parameter, see the common castable (Form 1) parameter.
nThreads=integer
specifies the number of threads to be used per node.
| Default | 4 |
|---|---|
| Range | 0–64 |
* saveState={casouttable}
specifies the name of the table for storing the scoring model.
| Long form | saveState={name="table-name"} |
|---|---|
| Shortcut form | saveState="table-name" |
The casouttable value can be one or more of the following:
caslib="string"
specifies the name of the caslib for the output table.
label="string"
specifies the descriptive label to associate with the table.
lifetime=64-bit-integer
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
memoryFormat="DVR" | "INHERIT" | "STANDARD"
specifies the memory format for the output table.
| Default | INHERIT |
|---|
DVR
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
name="table-name"
specifies the name for the output table.
promote=TRUE | FALSE
when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.
| Default | FALSE |
|---|
replace=TRUE | FALSE
when set to True, overwrites an existing table that has the same name.
| Default | FALSE |
|---|
* terms={castable}
specifies the name of the input table that contains information about the terms in the document collection.
For more information about specifying the terms parameter, see the common castable (Form 1) parameter.
* termTopics={castable}
specifies the input table that contains the term-by-topic sparse matrix information.
For more information about specifying the termTopics parameter, see the common castable (Form 1) parameter.
* text="variable-name"
specifies the variable containing the text.
| Default | "text" |
|---|
* topics={castable}
specifies the input table containing the topics that were discovered.
For more information about specifying the topics parameter, see the common castable (Form 1) parameter.
tmAstore Action
Creates a text mining analytic store from text mining tables.
| See: | What Does the tmAstore Action Do? |
|---|---|
| Example: | Create an Analytic Store and Use It to Score Documents |
Summary: Input and Output Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parameterconfig |
— |
specifies the name of the input CAS table that contains the parsing configuration information. |
|
required parameterdocuments |
— |
specifies the input CAS table of documents to be scored. |
|
— |
specifies the input table containing Liti entries. | |
|
— |
specifies the input table containing multiterm entries. | |
|
required parametertermTopics |
— |
specifies the input table that contains the term-by-topic sparse matrix information. |
|
required parameterterms |
— |
specifies the name of the input table that contains information about the terms in the document collection. |
|
required parametertopics |
— |
specifies the input table containing the topics that were discovered. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametersaveState |
— |
specifies the name of the table for storing the scoring model. |
Parameter Descriptions
* config={castable}
specifies the name of the input CAS table that contains the parsing configuration information.
For more information about specifying the config parameter, see the common castable (Form 1) parameter.
| Aliases | parseConfig |
|---|---|
| scoreConfig |
docId="variable-name"
specifies the variable containing the document Id.
| Default | "DOC_ID" |
|---|
* documents={castable}
specifies the input CAS table of documents to be scored.
For more information about specifying the documents parameter, see the common castable (Form 1) parameter.
liti={castable}
specifies the input table containing Liti entries.
For more information about specifying the liti parameter, see the common castable (Form 1) parameter.
multiterm={castable}
specifies the input table containing multiterm entries.
For more information about specifying the multiterm parameter, see the common castable (Form 1) parameter.
nThreads=integer
specifies the number of threads to be used per node.
| Default | 4 |
|---|---|
| Range | 0–64 |
* saveState={casouttable}
specifies the name of the table for storing the scoring model.
| Long form | saveState={name="table-name"} |
|---|---|
| Shortcut form | saveState="table-name" |
The casouttable value can be one or more of the following:
caslib="string"
specifies the name of the caslib for the output table.
label="string"
specifies the descriptive label to associate with the table.
lifetime=64-bit-integer
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
memoryFormat="DVR" | "INHERIT" | "STANDARD"
specifies the memory format for the output table.
| Default | INHERIT |
|---|
DVR
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
name="table-name"
specifies the name for the output table.
promote=true | false
when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.
| Default | false |
|---|
replace=true | false
when set to True, overwrites an existing table that has the same name.
| Default | false |
|---|
* terms={castable}
specifies the name of the input table that contains information about the terms in the document collection.
For more information about specifying the terms parameter, see the common castable (Form 1) parameter.
* termTopics={castable}
specifies the input table that contains the term-by-topic sparse matrix information.
For more information about specifying the termTopics parameter, see the common castable (Form 1) parameter.
* text="variable-name"
specifies the variable containing the text.
| Default | "text" |
|---|
* topics={castable}
specifies the input table containing the topics that were discovered.
For more information about specifying the topics parameter, see the common castable (Form 1) parameter.
tmAstore Action
Creates a text mining analytic store from text mining tables.
| See: | What Does the tmAstore Action Do? |
|---|---|
| Example: | Create an Analytic Store and Use It to Score Documents |
Summary: Input and Output Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parameterconfig |
— |
specifies the name of the input CAS table that contains the parsing configuration information. |
|
required parameterdocuments |
— |
specifies the input CAS table of documents to be scored. |
|
— |
specifies the input table containing Liti entries. | |
|
— |
specifies the input table containing multiterm entries. | |
|
required parametertermTopics |
— |
specifies the input table that contains the term-by-topic sparse matrix information. |
|
required parameterterms |
— |
specifies the name of the input table that contains information about the terms in the document collection. |
|
required parametertopics |
— |
specifies the input table containing the topics that were discovered. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametersaveState |
— |
specifies the name of the table for storing the scoring model. |
Parameter Descriptions
* config={castable}
specifies the name of the input CAS table that contains the parsing configuration information.
For more information about specifying the config parameter, see the common castable (Form 1) parameter.
| Aliases | parseConfig |
|---|---|
| scoreConfig |
docId="variable-name"
specifies the variable containing the document Id.
| Default | "DOC_ID" |
|---|
* documents={castable}
specifies the input CAS table of documents to be scored.
For more information about specifying the documents parameter, see the common castable (Form 1) parameter.
liti={castable}
specifies the input table containing Liti entries.
For more information about specifying the liti parameter, see the common castable (Form 1) parameter.
multiterm={castable}
specifies the input table containing multiterm entries.
For more information about specifying the multiterm parameter, see the common castable (Form 1) parameter.
nThreads=integer
specifies the number of threads to be used per node.
| Default | 4 |
|---|---|
| Range | 0–64 |
* saveState={casouttable}
specifies the name of the table for storing the scoring model.
| Long form | saveState={"name":"table-name"} |
|---|---|
| Shortcut form | saveState="table-name" |
The casouttable value can be one or more of the following:
"caslib":"string"
specifies the name of the caslib for the output table.
"label":"string"
specifies the descriptive label to associate with the table.
"lifetime":64-bit-integer
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
"memoryFormat":"DVR" | "INHERIT" | "STANDARD"
specifies the memory format for the output table.
| Default | INHERIT |
|---|
DVR
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
"name":"table-name"
specifies the name for the output table.
"promote":True | False
when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.
| Default | False |
|---|
"replace":True | False
when set to True, overwrites an existing table that has the same name.
| Default | False |
|---|
* terms={castable}
specifies the name of the input table that contains information about the terms in the document collection.
For more information about specifying the terms parameter, see the common castable (Form 1) parameter.
* termTopics={castable}
specifies the input table that contains the term-by-topic sparse matrix information.
For more information about specifying the termTopics parameter, see the common castable (Form 1) parameter.
* text="variable-name"
specifies the variable containing the text.
| Default | "text" |
|---|
* topics={castable}
specifies the input table containing the topics that were discovered.
For more information about specifying the topics parameter, see the common castable (Form 1) parameter.
tmAstore Action
Creates a text mining analytic store from text mining tables.
| See: | What Does the tmAstore Action Do? |
|---|---|
| Example: | Create an Analytic Store and Use It to Score Documents |
Summary: Input and Output Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parameterconfig |
— |
specifies the name of the input CAS table that contains the parsing configuration information. |
|
required parameterdocuments |
— |
specifies the input CAS table of documents to be scored. |
|
— |
specifies the input table containing Liti entries. | |
|
— |
specifies the input table containing multiterm entries. | |
|
required parametertermTopics |
— |
specifies the input table that contains the term-by-topic sparse matrix information. |
|
required parameterterms |
— |
specifies the name of the input table that contains information about the terms in the document collection. |
|
required parametertopics |
— |
specifies the input table containing the topics that were discovered. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametersaveState |
— |
specifies the name of the table for storing the scoring model. |
Parameter Descriptions
* config=list(castable)
specifies the name of the input CAS table that contains the parsing configuration information.
For more information about specifying the config parameter, see the common castable (Form 1) parameter.
| Aliases | parseConfig |
|---|---|
| scoreConfig |
docId="variable-name"
specifies the variable containing the document Id.
| Default | "DOC_ID" |
|---|
* documents=list(castable)
specifies the input CAS table of documents to be scored.
For more information about specifying the documents parameter, see the common castable (Form 1) parameter.
liti=list(castable)
specifies the input table containing Liti entries.
For more information about specifying the liti parameter, see the common castable (Form 1) parameter.
multiterm=list(castable)
specifies the input table containing multiterm entries.
For more information about specifying the multiterm parameter, see the common castable (Form 1) parameter.
nThreads=integer
specifies the number of threads to be used per node.
| Default | 4 |
|---|---|
| Range | 0–64 |
* saveState=list(casouttable)
specifies the name of the table for storing the scoring model.
| Long form | saveState=list(name="table-name") |
|---|---|
| Shortcut form | saveState="table-name" |
The casouttable value can be one or more of the following:
caslib="string"
specifies the name of the caslib for the output table.
label="string"
specifies the descriptive label to associate with the table.
lifetime=64-bit-integer
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
memoryFormat="DVR" | "INHERIT" | "STANDARD"
specifies the memory format for the output table.
| Default | INHERIT |
|---|
DVR
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
name="table-name"
specifies the name for the output table.
promote=TRUE | FALSE
when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.
| Default | FALSE |
|---|
replace=TRUE | FALSE
when set to True, overwrites an existing table that has the same name.
| Default | FALSE |
|---|
* terms=list(castable)
specifies the name of the input table that contains information about the terms in the document collection.
For more information about specifying the terms parameter, see the common castable (Form 1) parameter.
* termTopics=list(castable)
specifies the input table that contains the term-by-topic sparse matrix information.
For more information about specifying the termTopics parameter, see the common castable (Form 1) parameter.
* text="variable-name"
specifies the variable containing the text.
| Default | "text" |
|---|
* topics=list(castable)
specifies the input table containing the topics that were discovered.
For more information about specifying the topics parameter, see the common castable (Form 1) parameter.