public class Factory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ALPHANUMERIC |
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
TokenContextGenerator |
createTokenContextGenerator(java.lang.String languageCode,
java.util.Set<java.lang.String> abbreviations) |
java.util.regex.Pattern |
getAlphanumeric(java.lang.String languageCode)
Gets the alpha numeric pattern for the language.
|
public static final java.lang.String DEFAULT_ALPHANUMERIC
public java.util.regex.Pattern getAlphanumeric(java.lang.String languageCode)
languageCode
- the language code. If null or unknow the default pattern will be
returned.public TokenContextGenerator createTokenContextGenerator(java.lang.String languageCode, java.util.Set<java.lang.String> abbreviations)
Copyright © 2010 - 2020 Adobe. All Rights Reserved