Class SyllableConstituentPluginProvider
java.lang.Object
ca.phon.syllable.phonex.SyllableConstituentPluginProvider
- All Implemented Interfaces:
PluginProvider
@PhonexPlugin(name="sctype",
description="Match syllable constituent type",
arguments="type")
public class SyllableConstituentPluginProvider
extends Object
implements PluginProvider
Phonex plug-in for syllable constituent type matching. This
matcher accepts a list of syllable constituent types separated
by the '|' symbol. (e.g., {}:sctype("O|LA") - onset or leftappendix). Both
long and short contituent type identifiers can be used. For the
list of contituent types, see SyllableConstituentType.
This is the default type matcher in Phonex and can also be written
without the plug-in matcher identifier. E.g., {}:O|LA == {}:sctype("O|LA").
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMatcher(List<String> args) Create a new matcher for the given input string.
-
Constructor Details
-
SyllableConstituentPluginProvider
public SyllableConstituentPluginProvider()
-
-
Method Details
-
createMatcher
Description copied from interface:PluginProviderCreate a new matcher for the given input string.- Specified by:
createMatcherin interfacePluginProvider- Returns:
- PhoneMatcher
- Throws:
IllegalArgumentException- if there was a problem creating the plug-in matcher
-