|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInflectionRule
Represents a pattern according to which the parts of a multi-word expression may be inflected.
Method Summary | ||
---|---|---|
|
isValid(IMWE<T> mwe)
Returns true if this MWE follows the rule;
false otherwise. |
|
|
matches(IMWE<T> mwe)
Returns true if the given MWE has the same syntax as this
rule. |
Method Detail |
---|
<T extends IToken> boolean isValid(IMWE<T> mwe)
true
if this MWE follows the rule;
false
otherwise.
T
- the type of tokens in the MWEmwe
- the MWE to which the rule may/may not be applied
true
if this MWE follows the rule;
false
otherwise.
IllegalArgumentException
- if this rule may not be applied to the given MWE. May only
throw this exception if the matches(IMWE mwe)
method returns false.<T extends IToken> boolean matches(IMWE<T> mwe)
true
if the given MWE has the same syntax as this
rule. In other words, returns true
if this rule may be
applied to the given MWE; false
otherwise.
T
- the type of tokens in the MWEmwe
- the MWE to which the rule may/may not be applied
true
if this rule may be applied to the
given MWE, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |