4A Server -
2.0
|
The object that hold informations ipmortant for translate of alternative from SEC Api. More...
Classes | |
class | ConfidenceComparator |
The object implements comparator of Alternative objects that are compared by confidence (from highest to lowest confidence). More... | |
Public Member Functions | |
Alternative | getDummyAlternative () |
void | setDummyAlternative (Alternative dummyAlternative) |
ArrayList< Alternative > | getUnconvertedAlternatives () |
void | setUnconvertedAlternatives (ArrayList< Alternative > unconvertedAlternatives) |
ArrayList< Suggestion > | getConvertedAlternatives () |
void | setConvertedAlternatives (ArrayList< Suggestion > convertedAlternatives) |
void | setAlternativeOf (Suggestion alternativeOf) |
void | sortUncoveredByCofidence () |
Private Attributes | |
Alternative | dummyAlternative |
ArrayList< Alternative > | unconvertedAlternatives |
ArrayList< Suggestion > | convertedAlternatives |
The object that hold informations ipmortant for translate of alternative from SEC Api.
Definition at line 1824 of file SECAPISuggestionTranslator.java.
ArrayList<Suggestion> cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECAPISuggestionTranslator.TranslateAlternativeHolder.getConvertedAlternatives | ( | ) |
Gets array of converted alternative suggestions from DB.
Definition at line 1873 of file SECAPISuggestionTranslator.java.
Alternative cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECAPISuggestionTranslator.TranslateAlternativeHolder.getDummyAlternative | ( | ) |
Gets dummy alternative for converting of fragment.
Definition at line 1837 of file SECAPISuggestionTranslator.java.
ArrayList<Alternative> cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECAPISuggestionTranslator.TranslateAlternativeHolder.getUnconvertedAlternatives | ( | ) |
Gets array of unconverted alternatives from SEC API.
Definition at line 1855 of file SECAPISuggestionTranslator.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECAPISuggestionTranslator.TranslateAlternativeHolder.setAlternativeOf | ( | Suggestion | alternativeOf | ) |
Sets alternative of paramether for each unconverted alternative.
alternativeOf | suggestion that will be set as main suggestion |
Definition at line 1891 of file SECAPISuggestionTranslator.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECAPISuggestionTranslator.TranslateAlternativeHolder.setConvertedAlternatives | ( | ArrayList< Suggestion > | convertedAlternatives | ) |
Sets array of converted alternative suggestions from DB.
convertedAlternatives | array of converted alternative suggestions from DB |
Definition at line 1882 of file SECAPISuggestionTranslator.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECAPISuggestionTranslator.TranslateAlternativeHolder.setDummyAlternative | ( | Alternative | dummyAlternative | ) |
Sets dummy alternative for converting of fragment.
dummyAlternative | dummy alternative for converting of fragment. |
Definition at line 1846 of file SECAPISuggestionTranslator.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECAPISuggestionTranslator.TranslateAlternativeHolder.setUnconvertedAlternatives | ( | ArrayList< Alternative > | unconvertedAlternatives | ) |
Sets array of unconverted alternatives from SEC API.
unconvertedAlternatives | array of unconverted alternatives from SEC API |
Definition at line 1864 of file SECAPISuggestionTranslator.java.
void cz.vutbr.fit.knot.annotations.modules.suggestionManager.SECAPISuggestionTranslator.TranslateAlternativeHolder.sortUncoveredByCofidence | ( | ) |
Method sorts array of uncovered alternatives.
Definition at line 1903 of file SECAPISuggestionTranslator.java.
|
private |
Array of converted alternative suggestions from DB
Definition at line 1830 of file SECAPISuggestionTranslator.java.
|
private |
Dummy alternative for converting of fragment
Definition at line 1826 of file SECAPISuggestionTranslator.java.
|
private |
Array of unconverted alternatives from SEC API
Definition at line 1828 of file SECAPISuggestionTranslator.java.