public interface Categorizer
Modifier and Type | Method and Description |
---|---|
List<String> |
guessCategories(String textContent,
int maxSuggestions)
Compute a list of suggested categories, sorted by decreasing confidence
based on the textual content of the document.
|
List<String> |
guessCategories(String textContent,
int maxSuggestions,
Double precisionThreshold)
Compute a list of suggested categories, sorted by decreasing confidence
based on the textual content of the document.
|
List<String> guessCategories(String textContent, int maxSuggestions)
textContent
- maxSuggestions
- List<String> guessCategories(String textContent, int maxSuggestions, Double precisionThreshold)
textContent
- maxSuggestions
- precisionThreshold
- or null to use the default threshold of the
implementation.Copyright © 2013 Nuxeo SA. All Rights Reserved.