Class TokenCountNode
java.lang.Object
ca.phon.opgraph.OpNode
ca.phon.app.opgraph.nodes.table.TableOpNode
ca.phon.app.opgraph.nodes.table.TokenCountNode
- All Implemented Interfaces:
ca.phon.opgraph.app.extensions.NodeSettings,ca.phon.opgraph.dag.Vertex,ca.phon.opgraph.extensions.Extendable
public class TokenCountNode
extends TableOpNode
implements ca.phon.opgraph.app.extensions.NodeSettings
Count the total number of tokens and distinct tokens
for each included column. Values may also be grouped
by a column.
-
Field Summary
Fields inherited from class ca.phon.app.opgraph.nodes.table.TableOpNode
tableInput, tableOutputFields inherited from class ca.phon.opgraph.OpNode
CATEGORY_PROPERTY, COMPLETED_FIELD, DESCRIPTION_PROPERTY, ENABLED_FIELD, ID_PROPERTY, NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComponent(ca.phon.opgraph.app.GraphDocument document) voidloadSettings(Properties properties) voidoperate(ca.phon.opgraph.OpContext context) Methods inherited from class ca.phon.app.opgraph.nodes.table.TableOpNode
getColumnIndex, getColumnIndices, getInputTable, setTableOutputMethods inherited from class ca.phon.opgraph.OpNode
addNodeListener, checkCanceled, getCategory, getDefaultCategory, getDefaultDescription, getDefaultName, getDescription, getExtension, getExtensionClasses, getId, getInputFields, getInputFieldWithKey, getName, getOutputFields, getOutputFieldWithKey, isBreakpoint, isCanceled, putExtension, putField, putField, putField, putField, removeAllInputFields, removeAllOutputFields, removeField, removeField, removeNodeListener, setBreakpoint, setCanceled, setCategory, setDescription, setId, setName
-
Constructor Details
-
TokenCountNode
public TokenCountNode()
-
-
Method Details
-
operate
public void operate(ca.phon.opgraph.OpContext context) throws ca.phon.opgraph.exceptions.ProcessingException - Specified by:
operatein classca.phon.opgraph.OpNode- Throws:
ca.phon.opgraph.exceptions.ProcessingException
-
getInventorySettings
-
getComponent
- Specified by:
getComponentin interfaceca.phon.opgraph.app.extensions.NodeSettings
-
getSettings
- Specified by:
getSettingsin interfaceca.phon.opgraph.app.extensions.NodeSettings
-
loadSettings
- Specified by:
loadSettingsin interfaceca.phon.opgraph.app.extensions.NodeSettings
-