Class PhoneSimilarity
java.lang.Object
ca.phon.opgraph.OpNode
ca.phon.app.opgraph.nodes.table.TableOpNode
ca.phon.app.opgraph.nodes.table.PhoneSimilarity
- All Implemented Interfaces:
ca.phon.opgraph.app.extensions.NodeSettings,ca.phon.opgraph.dag.Vertex,ca.phon.opgraph.extensions.Extendable
public class PhoneSimilarity
extends TableOpNode
implements ca.phon.opgraph.app.extensions.NodeSettings
Calculate feature similarity between two
IPATranscripts.-
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 TypeMethodDescriptiongetComparsionFeatures(boolean includePlace, boolean includeManner, boolean includeVoicing, boolean includeHeight, boolean includeBackness, boolean includeTenseness, boolean includeRounding) Returns the full set of features used when comparing phones as setup by the node's options.getComponent(ca.phon.opgraph.app.GraphDocument document) booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidloadSettings(Properties properties) voidoperate(ca.phon.opgraph.OpContext context) voidsetIncludeBackness(boolean includeBackness) voidsetIncludeHeight(boolean includeHeight) voidsetIncludeManner(boolean includeManner) voidsetIncludePlace(boolean includePlace) voidsetIncludeRounding(boolean includeRounding) voidsetIncludeTenseness(boolean includeTenseness) voidsetIncludeVoicing(boolean includeVoicing) 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
-
PhoneSimilarity
public PhoneSimilarity()
-
-
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
-
getComparsionFeatures
public FeatureSet getComparsionFeatures(boolean includePlace, boolean includeManner, boolean includeVoicing, boolean includeHeight, boolean includeBackness, boolean includeTenseness, boolean includeRounding) Returns the full set of features used when comparing phones as setup by the node's options.- Returns:
-
getComponent
- Specified by:
getComponentin interfaceca.phon.opgraph.app.extensions.NodeSettings
-
isIncludePlace
public boolean isIncludePlace() -
setIncludePlace
public void setIncludePlace(boolean includePlace) -
isIncludeManner
public boolean isIncludeManner() -
setIncludeManner
public void setIncludeManner(boolean includeManner) -
isIncludeVoicing
public boolean isIncludeVoicing() -
setIncludeVoicing
public void setIncludeVoicing(boolean includeVoicing) -
isIncludeHeight
public boolean isIncludeHeight() -
setIncludeHeight
public void setIncludeHeight(boolean includeHeight) -
isIncludeBackness
public boolean isIncludeBackness() -
setIncludeBackness
public void setIncludeBackness(boolean includeBackness) -
isIncludeTenseness
public boolean isIncludeTenseness() -
setIncludeTenseness
public void setIncludeTenseness(boolean includeTenseness) -
isIncludeRounding
public boolean isIncludeRounding() -
setIncludeRounding
public void setIncludeRounding(boolean includeRounding) -
getSettings
- Specified by:
getSettingsin interfaceca.phon.opgraph.app.extensions.NodeSettings
-
loadSettings
- Specified by:
loadSettingsin interfaceca.phon.opgraph.app.extensions.NodeSettings
-