Uses of Class
opennlp.tools.tokenize.TokenizerCharacterPolicy
Packages that use TokenizerCharacterPolicy
-
Uses of TokenizerCharacterPolicy in opennlp.tools.tokenize
Fields in opennlp.tools.tokenize declared as TokenizerCharacterPolicyModifier and TypeFieldDescriptionprivate static final TokenizerCharacterPolicyTokenizerCharacterPolicy.ASCIIprivate TokenizerCharacterPolicyTokenizerFactory.characterPolicyMethods in opennlp.tools.tokenize that return TokenizerCharacterPolicyModifier and TypeMethodDescriptionstatic TokenizerCharacterPolicyTokenizerCharacterPolicy.ascii()Returns a policy for ASCII letters and digits, with no marks.TokenizerFactory.getCharacterPolicy()static TokenizerCharacterPolicyTokenizerCharacterPolicy.of(CodePointSet letters, CodePointSet digits, CodePointSet marks) Creates a policy from explicit, pairwise-disjoint code point sets.static TokenizerCharacterPolicyParses the text form written bytoString(): the three fieldsletters=,;digits=and;marks=in that order, each followed by zero or more comma separated hex code points (0041) or inclusive ranges (0041-005A).Methods in opennlp.tools.tokenize with parameters of type TokenizerCharacterPolicyModifier and TypeMethodDescriptionstatic TokenizerFactoryTokenizerFactory.create(String subclassName, String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, TokenizerCharacterPolicy characterPolicy) Factory method the framework uses to instantiate a newTokenizerFactory.protected voidTokenizerFactory.init(String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, TokenizerCharacterPolicy characterPolicy) Constructors in opennlp.tools.tokenize with parameters of type TokenizerCharacterPolicyModifierConstructorDescriptionTokenizerFactory(String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, TokenizerCharacterPolicy characterPolicy) Instantiates aTokenizerFactory.TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics, TokenizerCharacterPolicy characterPolicy, TokenContextGenerator cg) Initializes a new event stream based on the data stream using aTokenContextGenerator. -
Uses of TokenizerCharacterPolicy in opennlp.tools.tokenize.lang
Fields in opennlp.tools.tokenize.lang declared as TokenizerCharacterPolicyModifier and TypeFieldDescriptionprivate static final TokenizerCharacterPolicyFactory.CATALANstatic final TokenizerCharacterPolicyFactory.DEFAULT_CHARACTER_POLICYThe policy for languages without a dedicated one: ASCII letters and digits, no marks.private static final TokenizerCharacterPolicyFactory.DUTCHprivate static final TokenizerCharacterPolicyFactory.FRENCHprivate static final TokenizerCharacterPolicyFactory.GERMANprivate static final TokenizerCharacterPolicyFactory.ITALIANprivate static final TokenizerCharacterPolicyFactory.POLISHprivate static final TokenizerCharacterPolicyFactory.PORTUGUESEprivate static final TokenizerCharacterPolicyFactory.SPANISHFields in opennlp.tools.tokenize.lang with type parameters of type TokenizerCharacterPolicyModifier and TypeFieldDescriptionprivate static final Map<TokenizerCharacterPolicy, String> Factory.LEGACY_EXPRESSIONSThe alphanumeric expressions of releases before 3.0, keyed by the policy that accepts the same characters.private static final Map<TokenizerCharacterPolicy, Pattern> Factory.LEGACY_PATTERNSThe compiledFactory.LEGACY_EXPRESSIONS, keyed by the same policies.Methods in opennlp.tools.tokenize.lang that return TokenizerCharacterPolicyModifier and TypeMethodDescriptionFactory.getCharacterPolicy(String languageCode) Gets the character policy for a language.private static TokenizerCharacterPolicyFactory.latinPolicy(String extraLetters) Builds a policy of the ASCII letters plusextraLetters, the ASCII digits, and no marks.static TokenizerCharacterPolicyFactory.policyOfLegacyExpression(String expression) Deprecated, for removal: This API element is subject to removal in a future version.Methods in opennlp.tools.tokenize.lang that return types with arguments of type TokenizerCharacterPolicyModifier and TypeMethodDescriptionprivate static Map<TokenizerCharacterPolicy, Pattern> Factory.compileAll()Returns theFactory.LEGACY_EXPRESSIONScompiled once, withFactory.DEFAULT_ALPHANUMERICfor the default policy.Methods in opennlp.tools.tokenize.lang with parameters of type TokenizerCharacterPolicyModifier and TypeMethodDescriptionstatic StringFactory.legacyExpressionOf(TokenizerCharacterPolicy policy) Deprecated, for removal: This API element is subject to removal in a future version.Serves only the deprecatedPatternAPI and will be removed with it in 4.0.static PatternFactory.legacyPatternOf(TokenizerCharacterPolicy policy) Deprecated, for removal: This API element is subject to removal in a future version.Serves only the deprecatedPatternAPI and will be removed with it in 4.0.
PatternAPI and will be removed with it in 4.0.