Class Result
- java.lang.Object
-
- io.github.crew102.rapidrake.model.Result
-
public class Result extends Object
A data object containing the results of running RAKE on a single document. results
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Result
distinct()
Remove duplicate keywords.String[]
getFullKeywords()
float[]
getScores()
String[]
getStemmedKeywords()
String
toString()
Return a description of the Result.
-
-
-
Method Detail
-
getFullKeywords
public String[] getFullKeywords()
-
getStemmedKeywords
public String[] getStemmedKeywords()
-
getScores
public float[] getScores()
-
toString
public String toString()
Return a description of the Result. The Result is shown in the following format: [keyword1 (score of keyword1), keyword2 (score of keyword2)].
-
distinct
public Result distinct()
Remove duplicate keywords.- Returns:
- a Result object with duplicate keywords removed
-
-