Modifier and Type | Class and Description |
---|---|
static class |
TokenUtils.PositionBuffer
Expert Use Only: Utility class for buffering and processing tokens indexed at the same position.
|
static class |
TokenUtils.TokenBuffer
Expert Use Only: represents a
Token and associated positional data as part of a TokenUtils.PositionBuffer . |
Constructor and Description |
---|
TokenUtils() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
extractScopes(String scopeName,
IngestFieldValue value)
Extract
scopeName values from value . |
static List<String> |
extractScopes(String scopeName,
TokenList tokens,
String text)
Extract substrings of
text for scopeName from tokens . |
static TokenList |
filterTokens(IngestFieldValue value,
Locale locale)
Get all tokens for
locale . |
public static TokenList filterTokens(IngestFieldValue value, Locale locale)
locale
.
NOTE: all returned tokens will be cloned.
public static List<String> extractScopes(String scopeName, IngestFieldValue value)
scopeName
values from value
.Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.