Package ca.phon.syllabifier.phonex
Class SonorityMdcPlugin
java.lang.Object
ca.phon.syllabifier.phonex.SonorityMdcPlugin
- All Implemented Interfaces:
PluginProvider
@PhonexPlugin(name="mdc",
description="Minimum distance constraint",
arguments={"distance","allowFlat"})
public class SonorityMdcPlugin
extends Object
implements PluginProvider
Provides the phonex 'mdc' (minimum distance constraint)
plug-in for syllabification. Format of input should be
INT,[true|false]
Where INT is the minimum distance from the previous phone
and the boolean indicates if flat sonority is
allowed.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateMatcher
(List<String> args) Create a new matcher for the given input string.
-
Constructor Details
-
SonorityMdcPlugin
public SonorityMdcPlugin()
-
-
Method Details
-
createMatcher
Description copied from interface:PluginProvider
Create a new matcher for the given input string.- Specified by:
createMatcher
in interfacePluginProvider
- Returns:
- PhoneMatcher
- Throws:
IllegalArgumentException
- if there was a problem creating the plug-in matcher
-