|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringCalculations
Method Summary | |
---|---|
Matrix |
lowerCase(Calculation.Ret returnType)
|
Matrix |
removePunctuation(Calculation.Ret ret)
|
Matrix |
removeWords(Calculation.Ret ret,
Collection<String> words)
|
Matrix |
replaceRegex(Calculation.Ret returnType,
Pattern search,
String replacement)
Replaces matching text in every entry of the matrix. |
Matrix |
replaceRegex(Calculation.Ret returnType,
String search,
String replacement)
Replaces matching text in every entry of the matrix. |
Matrix |
stem(Calculation.Ret ret)
|
Matrix |
tfIdf(boolean calculateTf,
boolean calculateIdf,
boolean normalize)
|
Matrix |
upperCase(Calculation.Ret returnType)
|
Method Detail |
---|
Matrix replaceRegex(Calculation.Ret returnType, String search, String replacement) throws MatrixException
returnType
- Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixsearch
- Regular expression to search forreplacement
- Replacement String
MatrixException
Matrix replaceRegex(Calculation.Ret returnType, Pattern search, String replacement) throws MatrixException
returnType
- Select whether a new or a linked Matrix is returned, or if the
operation is performed on the original Matrixsearch
- Regular expression pattern to search forreplacement
- Replacement String
MatrixException
Matrix lowerCase(Calculation.Ret returnType) throws MatrixException
MatrixException
Matrix upperCase(Calculation.Ret returnType) throws MatrixException
MatrixException
Matrix tfIdf(boolean calculateTf, boolean calculateIdf, boolean normalize) throws MatrixException
MatrixException
Matrix removePunctuation(Calculation.Ret ret) throws MatrixException
MatrixException
Matrix stem(Calculation.Ret ret) throws MatrixException
MatrixException
Matrix removeWords(Calculation.Ret ret, Collection<String> words) throws MatrixException
MatrixException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |