Package | Description |
---|---|
acp | |
acp.beans.entity | |
acp.manager | |
acp.store |
Modifier and Type | Method and Description |
---|---|
Suggestion |
ACPLogic.requestExtendSuggestion(int id,
int type)
Retrieve the next paragraph, sentence or word based on the current selected suggestion.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Suggestion> |
ACPLogic.requestSuggestion(java.lang.String userInput,
boolean autoTrigger)
Using prefix search to retrieve a list of suggestions based on the user input.
|
Modifier and Type | Method and Description |
---|---|
void |
ACPLogic.chooseSuggestion(Suggestion suggestion)
To inform the system that user has selected a specific suggestion for
machine learning purposes.
|
Modifier and Type | Class and Description |
---|---|
class |
Entity |
class |
Paragraph |
class |
Sentence |
Modifier and Type | Method and Description |
---|---|
Suggestion |
DataManager.retrieveSubsequentText(int id,
int type)
Retrieve subsequent suggestion by the ID of previous Sentence object and the requested
type of subsequent suggestion.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Suggestion> |
DataManager.searchBasedOnRequest(java.lang.String userInput,
Preference prefs,
boolean autoTrigger)
Search for relevant suggestion by input from the user and the user preferences.
|
java.util.List<Suggestion> |
SortManager.sortSearchResults(int entityTypePriority,
Preference[] preference,
java.util.List<Suggestion> suggestions,
java.util.ArrayList<RankEntry> rankingModel,
java.lang.String userInput)
Sorts the search result according by the type of the search result (Sentence or Entity).
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Suggestion> |
SortManager.sortSearchResults(int entityTypePriority,
Preference[] preference,
java.util.List<Suggestion> suggestions,
java.util.ArrayList<RankEntry> rankingModel,
java.lang.String userInput)
Sorts the search result according by the type of the search result (Sentence or Entity).
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Suggestion> |
DataStore.searchEntity(java.lang.String userInput,
Preference prefs,
boolean autoTrigger)
Search a list of relevant entities by user input and user preferences.
|
java.util.List<Suggestion> |
DataStore.searchText(java.lang.String userInput,
Preference prefs,
boolean autoTrigger)
Search a list of relevant suggestions by user input and user preferences.
|