Class MetathesisDetector


public class MetathesisDetector extends BasicMetathesisDetector

Metathesis

Given two positions i, k within M, we determine if metathesis exists for each dimension of profile(p) if any of the following cases are true:

  • Metathesis
    dim(M1i) = x, dim(M1k) = y (Values from T)
    dim(M2i) = y, dim(M2k) = x (Values from A)
  • Progressive Migration
    dim(M1i) = x, dim(M1k) = y (Values from T)
    dim(M2i) = ?, dim(M2k) = x (Values from A)
  • Regressive Migration
    dim(M1i) = x, dim(M1k) = y (Values from T)
    dim(M2i) = y, dim(M2k) = ? (Values from A)

  • Constructor Details

    • MetathesisDetector

      public MetathesisDetector()
    • MetathesisDetector

      public MetathesisDetector(boolean includePlace, boolean includeManner, boolean includeVoicing)
  • Method Details

    • 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)
    • detect

      public Collection<DetectorResult> detect(PhoneMap pm)
      Description copied from class: Detector
      Perform detection.
      Overrides:
      detect in class Detector
    • isMetathesis

      public boolean isMetathesis(MetathesisDetectorResult potentialResult)