Package ca.phon.syllable.phonex
Class ToneNumberPluginProvider
java.lang.Object
ca.phon.syllable.phonex.ToneNumberPluginProvider
- All Implemented Interfaces:
PluginProvider
@PhonexPlugin(name="tn",
description="Match tone number",
arguments="(not)? tone number (| tone number ...)")
public class ToneNumberPluginProvider
extends Object
implements PluginProvider
Tone plug-in provider. This matcher allows for matching tone number of an element.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateMatcher
(List<String> args) Create a new matcher for the given input string.
-
Constructor Details
-
ToneNumberPluginProvider
public ToneNumberPluginProvider()
-
-
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
-