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.
  • Constructor Details

    • PhoneSimilarity

      public PhoneSimilarity()
  • Method Details

    • operate

      public void operate(ca.phon.opgraph.OpContext context) throws ca.phon.opgraph.exceptions.ProcessingException
      Specified by:
      operate in class ca.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

      public Component getComponent(ca.phon.opgraph.app.GraphDocument document)
      Specified by:
      getComponent in interface ca.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

      public Properties getSettings()
      Specified by:
      getSettings in interface ca.phon.opgraph.app.extensions.NodeSettings
    • loadSettings

      public void loadSettings(Properties properties)
      Specified by:
      loadSettings in interface ca.phon.opgraph.app.extensions.NodeSettings