| Package | Description |
|---|---|
| com.force.i18n | |
| com.force.i18n.commons.text |
| Modifier and Type | Method and Description |
|---|---|
GenericTrieMatcher<String> |
LabelUtils.Nounifier.getAdjectiveMatcher() |
GenericTrieMatcher<String> |
LabelUtils.Nounifier.getArticleMatcher() |
GenericTrieMatcher<String> |
LabelUtils.Nounifier.getNounMatcher() |
| Modifier and Type | Method and Description |
|---|---|
static <TOKEN> GenericTrieMatcher<TOKEN> |
GenericTrieMatcher.compile(List<? extends List<TOKEN>> searches,
List<? extends List<TOKEN>> replacements)
This is not the cheapest of operations.
|
static <TOKEN> GenericTrieMatcher<TOKEN> |
GenericTrieMatcher.compile(List<? extends List<TOKEN>> searches,
List<? extends List<TOKEN>> replacements,
Class<TOKEN> tokenClass)
This is not the cheapest of operations.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
GenericTrieMatcher.replaceMultiple(List<T> s,
GenericTrieMatcher<T> trieMatcher)
Search and replace multiple strings in
s given the the words and replacements given in
TrieMatcher. |
static <T> List<T> |
GenericTrieMatcher.replaceMultiple(List<T> s,
GenericTrieMatcher<T> trieMatcher,
GenericTrieMatcher.MatchValidator<T> validator)
Search and replace multiple strings in
s given the the words and replacements given in
TrieMatcher and a validation strategy |
Copyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.