Package com.cobber.fta.plugins.address
Class Address3EN
- Object
-
- LogicalType
-
- LogicalTypeCode
-
- LogicalTypeInfinite
-
- com.cobber.fta.plugins.address.AddressLineNEN
-
- com.cobber.fta.plugins.address.Address3EN
-
- All Implemented Interfaces:
LTRandom
,Comparable<LogicalType>
public class Address3EN extends AddressLineNEN
Plugin to detect the third line of an Address. (English-language only).
-
-
Field Summary
Fields Modifier and Type Field Description static String
SEMANTIC_TYPE
The Semantic type for this Plugin.-
Fields inherited from class com.cobber.fta.LogicalTypeCode
random
-
Fields inherited from class com.cobber.fta.LogicalType
analysisConfig, defn, locale, localeInfo, pluginLocaleEntry, priority, threshold
-
-
Constructor Summary
Constructors Constructor Description Address3EN(PluginDefinition plugin)
Construct a plugin to detect the third line of an Address based on the Plugin Definition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected char
getIndicator()
String
getSemanticType()
The name of the Semantic Type.-
Methods inherited from class com.cobber.fta.plugins.address.AddressLineNEN
analyzeSet, getBaseType, getConfidence, getRegExp, initialize, isCandidate, isValid, nextRandom
-
Methods inherited from class com.cobber.fta.LogicalTypeInfinite
isClosed, isRegExpComplete
-
Methods inherited from class com.cobber.fta.LogicalTypeCode
seed
-
Methods inherited from class com.cobber.fta.LogicalType
acceptsBaseType, compareTo, getDescription, getHeaderConfidence, getPluginDefinition, getPriority, getSignature, getThreshold, isLocaleSensitive, isValid, setThreshold
-
-
-
-
Field Detail
-
SEMANTIC_TYPE
public static final String SEMANTIC_TYPE
The Semantic type for this Plugin.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Address3EN
public Address3EN(PluginDefinition plugin)
Construct a plugin to detect the third line of an Address based on the Plugin Definition.- Parameters:
plugin
- The definition of this plugin.
-
-
Method Detail
-
getSemanticType
public String getSemanticType()
Description copied from class:LogicalType
The name of the Semantic Type. For example, EMAIL for an email address.- Overrides:
getSemanticType
in classLogicalType
- Returns:
- The name of the Semantic Type.
-
getIndicator
protected char getIndicator()
- Specified by:
getIndicator
in classAddressLineNEN
-
-