public class TextUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
matches(org.dmg.pmml.TextIndex textIndex,
TokenizedString leftTokens,
TokenizedString rightTokens) |
static String |
normalize(org.dmg.pmml.TextIndex textIndex,
String string) |
static String |
normalize(org.dmg.pmml.TextIndex textIndex,
org.dmg.pmml.TextIndexNormalization textIndexNormalization,
String string) |
static int |
termFrequency(org.dmg.pmml.TextIndex textIndex,
TokenizedString textTokens,
TokenizedString termTokens) |
static Map<TokenizedString,Integer> |
termFrequencyTable(org.dmg.pmml.TextIndex textIndex,
TokenizedString textTokens,
Set<TokenizedString> termTokenSet,
int maxLength) |
static TokenizedString |
tokenize(org.dmg.pmml.TextIndex textIndex,
String text) |
public static String normalize(org.dmg.pmml.TextIndex textIndex, org.dmg.pmml.TextIndexNormalization textIndexNormalization, String string)
public static TokenizedString tokenize(org.dmg.pmml.TextIndex textIndex, String text)
public static int termFrequency(org.dmg.pmml.TextIndex textIndex,
TokenizedString textTokens,
TokenizedString termTokens)
public static Map<TokenizedString,Integer> termFrequencyTable(org.dmg.pmml.TextIndex textIndex, TokenizedString textTokens, Set<TokenizedString> termTokenSet, int maxLength)
public static boolean matches(org.dmg.pmml.TextIndex textIndex,
TokenizedString leftTokens,
TokenizedString rightTokens)
Copyright © 2022. All rights reserved.