| Package | Description |
|---|---|
| be.bagofwords.counts | |
| be.bagofwords.text | |
| be.bagofwords.util |
| Modifier and Type | Method and Description |
|---|---|
List<Pair<T,Long>> |
Counter.getValuesAsList() |
| Modifier and Type | Method and Description |
|---|---|
void |
Counter.addAll(List<Pair<T,Long>> values) |
void |
Counter.setValuesAsList(List<Pair<T,Long>> values) |
| Modifier and Type | Method and Description |
|---|---|
Pair<Integer,Integer> |
MappedText.getMappingFromOrig(BowString string) |
Pair<Integer,Integer> |
MappedText.getMappingFromOrig(int startPos,
int endPos) |
Pair<Integer,Integer> |
MappedText.getMappingToOrig(BowString string) |
Pair<Integer,Integer> |
MappedText.getMappingToOrig(int startPos,
int endPos) |
| Modifier and Type | Method and Description |
|---|---|
Pair |
Pair.clone() |
static <S,T> Pair<S,T> |
Pair.newP(S first,
T second) |
static <S,T> Pair<S,T> |
Utils.pair(S obj1,
T obj2) |
| Modifier and Type | Method and Description |
|---|---|
static <S extends Comparable,T> |
Utils.list(HashMap<S,T> map) |
static <T extends Comparable,S> |
Utils.reverseList(HashMap<S,T> map) |
| Modifier and Type | Method and Description |
|---|---|
static <T,S> HashMap<T,S> |
Utils.map(ArrayList<Pair<T,S>> values) |
static void |
StringUtils.replaceMatches(List<Pair<Integer,Integer>> matches,
String repl,
MappedText mappedText) |
static void |
StringUtils.replaceMatches(List<Pair<Integer,Integer>> matches,
String repl,
MappedText mappedText,
boolean keepWorMapping) |
static double |
NumUtils.sum(ArrayList<Pair<Double,Integer>> results) |
Copyright © 2015. All rights reserved.