ca.uottawa.balie
Enum TokenFeature.Feature
java.lang.Object
java.lang.Enum<TokenFeature.Feature>
ca.uottawa.balie.TokenFeature.Feature
- All Implemented Interfaces:
- TokenFeature.IFeature, java.io.Serializable, java.lang.Comparable<TokenFeature.Feature>
- Enclosing class:
- TokenFeature
public static enum TokenFeature.Feature
- extends java.lang.Enum<TokenFeature.Feature>
- implements TokenFeature.IFeature
lexical features
- Author:
- nadeaud
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
HasCapitalLetter
public static final TokenFeature.Feature HasCapitalLetter
HasDigit
public static final TokenFeature.Feature HasDigit
StartsWithCapital
public static final TokenFeature.Feature StartsWithCapital
HasPunctuation
public static final TokenFeature.Feature HasPunctuation
IsAllCapitalized
public static final TokenFeature.Feature IsAllCapitalized
IsMixedCase
public static final TokenFeature.Feature IsMixedCase
HasDigitsOnly
public static final TokenFeature.Feature HasDigitsOnly
EndsInPeriod
public static final TokenFeature.Feature EndsInPeriod
ApostropheIsSecondChar
public static final TokenFeature.Feature ApostropheIsSecondChar
HasAmpersandPunct
public static final TokenFeature.Feature HasAmpersandPunct
HasApostrophePunct
public static final TokenFeature.Feature HasApostrophePunct
HasBackSlashPunct
public static final TokenFeature.Feature HasBackSlashPunct
HasCloseBracketPunct
public static final TokenFeature.Feature HasCloseBracketPunct
HasCloseParenthesisPunct
public static final TokenFeature.Feature HasCloseParenthesisPunct
HasColonPunct
public static final TokenFeature.Feature HasColonPunct
HasCommaPunct
public static final TokenFeature.Feature HasCommaPunct
HasCommercialAtPunct
public static final TokenFeature.Feature HasCommercialAtPunct
HasCopyrightPunct
public static final TokenFeature.Feature HasCopyrightPunct
HasCurrencyPunct
public static final TokenFeature.Feature HasCurrencyPunct
HasHyphenPunct
public static final TokenFeature.Feature HasHyphenPunct
HasExclamationPunct
public static final TokenFeature.Feature HasExclamationPunct
HasInterrogationPunct
public static final TokenFeature.Feature HasInterrogationPunct
HasInvertedExclamationPunct
public static final TokenFeature.Feature HasInvertedExclamationPunct
HasInvertedInterrogationPunct
public static final TokenFeature.Feature HasInvertedInterrogationPunct
HasLinefeedPunct
public static final TokenFeature.Feature HasLinefeedPunct
HasMiscArithmeticPunct
public static final TokenFeature.Feature HasMiscArithmeticPunct
HasNewlinePunct
public static final TokenFeature.Feature HasNewlinePunct
HasOpenBracketPunct
public static final TokenFeature.Feature HasOpenBracketPunct
HasOpenParenthesisPunct
public static final TokenFeature.Feature HasOpenParenthesisPunct
HasPercentPunct
public static final TokenFeature.Feature HasPercentPunct
HasPeriodPunct
public static final TokenFeature.Feature HasPeriodPunct
HasPipePunct
public static final TokenFeature.Feature HasPipePunct
HasQuotePunct
public static final TokenFeature.Feature HasQuotePunct
HasSemiColonPunct
public static final TokenFeature.Feature HasSemiColonPunct
HasSlashPunct
public static final TokenFeature.Feature HasSlashPunct
HasTabulationPunct
public static final TokenFeature.Feature HasTabulationPunct
HasTildePunct
public static final TokenFeature.Feature HasTildePunct
HasUnderscorePunct
public static final TokenFeature.Feature HasUnderscorePunct
HasUnknownPunct
public static final TokenFeature.Feature HasUnknownPunct
IsRomanDigit
public static final TokenFeature.Feature IsRomanDigit
GetSummarizedPattern
public static final TokenFeature.Feature GetSummarizedPattern
GetStrippedAccent
public static final TokenFeature.Feature GetStrippedAccent
GetStrippedPunct
public static final TokenFeature.Feature GetStrippedPunct
GetAlpha
public static final TokenFeature.Feature GetAlpha
GetNonAlpha
public static final TokenFeature.Feature GetNonAlpha
GetPattern
public static final TokenFeature.Feature GetPattern
GetPrefix1
public static final TokenFeature.Feature GetPrefix1
GetSuffix1
public static final TokenFeature.Feature GetSuffix1
GetPrefix2
public static final TokenFeature.Feature GetPrefix2
GetSuffix2
public static final TokenFeature.Feature GetSuffix2
GetPrefix3
public static final TokenFeature.Feature GetPrefix3
GetSuffix3
public static final TokenFeature.Feature GetSuffix3
Length
public static final TokenFeature.Feature Length
NumSpace
public static final TokenFeature.Feature NumSpace
NumericValue
public static final TokenFeature.Feature NumericValue
NumLeadingDigits
public static final TokenFeature.Feature NumLeadingDigits
NumTrailingDigits
public static final TokenFeature.Feature NumTrailingDigits
values
public static final TokenFeature.Feature[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(TokenFeature.Feature c : TokenFeature.Feature.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static TokenFeature.Feature valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
FeatureType
public TokenFeature.FeatureType FeatureType()
- Specified by:
FeatureType
in interface TokenFeature.IFeature
Mechanism
public TokenFeature.Mechanism Mechanism()
- Specified by:
Mechanism
in interface TokenFeature.IFeature