Uses of Class
net.sf.okapi.common.query.QueryResult
-
Packages that use QueryResult Package Description net.sf.okapi.common.query Helper classes for the translation resources connectors.net.sf.okapi.connectors.google net.sf.okapi.connectors.kantan net.sf.okapi.connectors.microsoft net.sf.okapi.connectors.mymemory net.sf.okapi.connectors.pensieve net.sf.okapi.connectors.tda net.sf.okapi.connectors.translatetoolkit net.sf.okapi.lib.translation Interfaces and classes for accessing translation resources. -
-
Uses of QueryResult in net.sf.okapi.common.query
Methods in net.sf.okapi.common.query that return QueryResult Modifier and Type Method Description QueryResultIQuery. next()Gets the next hit for the last query.Methods in net.sf.okapi.common.query that return types with arguments of type QueryResult Modifier and Type Method Description List<List<QueryResult>>IQuery. batchQuery(List<TextFragment> fragments)Starts a batch query for a given list ofTextFragments.List<List<QueryResult>>IQuery. batchQueryText(List<String> plainTexts)Starts a batch query for a given list of plain texts.Methods in net.sf.okapi.common.query with parameters of type QueryResult Modifier and Type Method Description intQueryResult. compareTo(QueryResult other)This method implements a five way sort on (1) weight (2)MatchType(3) Score (4) source string match and (5) creation date. -
Uses of QueryResult in net.sf.okapi.connectors.google
Methods in net.sf.okapi.connectors.google that return types with arguments of type QueryResult Modifier and Type Method Description protected <T> List<List<QueryResult>>GoogleMTv2Connector. _batchQuery(List<String> texts, List<T> originalTexts, net.sf.okapi.connectors.google.QueryResultBuilder<T> qrBuilder)List<List<QueryResult>>GoogleMTv2Connector. batchQuery(List<TextFragment> fragments)List<List<QueryResult>>GoogleMTv2Connector. batchQueryText(List<String> plainTexts)protected <T> List<List<QueryResult>>GoogleMTv2Connector. flushQuery(GoogleQueryBuilder<T> qb, net.sf.okapi.connectors.google.QueryResultBuilder<T> qrBuilder) -
Uses of QueryResult in net.sf.okapi.connectors.kantan
Methods in net.sf.okapi.connectors.kantan that return QueryResult Modifier and Type Method Description QueryResultKantanMTConnector. next()Deprecated.QueryResultKantanMTv21Connector. next()Methods in net.sf.okapi.connectors.kantan that return types with arguments of type QueryResult Modifier and Type Method Description List<List<QueryResult>>KantanMTConnector. batchQuery(List<TextFragment> fragments)Deprecated.List<List<QueryResult>>KantanMTv21Connector. batchQuery(List<TextFragment> fragments) -
Uses of QueryResult in net.sf.okapi.connectors.microsoft
Methods in net.sf.okapi.connectors.microsoft that return QueryResult Modifier and Type Method Description QueryResultMicrosoftMTConnector. next()Methods in net.sf.okapi.connectors.microsoft that return types with arguments of type QueryResult Modifier and Type Method Description protected <T> List<List<QueryResult>>MicrosoftMTConnector. _batchQuery(List<String> texts, List<T> originalText, net.sf.okapi.connectors.microsoft.QueryResultBuilder<T> qrBuilder)protected <T> List<List<QueryResult>>MicrosoftMTConnector. _subBatchQuery(List<String> texts, List<T> originalText, net.sf.okapi.connectors.microsoft.QueryResultBuilder<T> qrBuilder)List<List<QueryResult>>MicrosoftMTConnector. batchQuery(List<TextFragment> fragments)List<List<QueryResult>>MicrosoftMTConnector. batchQueryText(List<String> plainTexts) -
Uses of QueryResult in net.sf.okapi.connectors.mymemory
Methods in net.sf.okapi.connectors.mymemory that return QueryResult Modifier and Type Method Description QueryResultMyMemoryTMConnector. next()Methods in net.sf.okapi.connectors.mymemory that return types with arguments of type QueryResult Modifier and Type Method Description List<List<QueryResult>>MyMemoryTMConnector. batchQuery(List<TextFragment> fragments) -
Uses of QueryResult in net.sf.okapi.connectors.pensieve
Methods in net.sf.okapi.connectors.pensieve that return QueryResult Modifier and Type Method Description QueryResultPensieveTMConnector. next() -
Uses of QueryResult in net.sf.okapi.connectors.tda
Methods in net.sf.okapi.connectors.tda that return QueryResult Modifier and Type Method Description QueryResultTDASearchConnector. next()Methods in net.sf.okapi.connectors.tda that return types with arguments of type QueryResult Modifier and Type Method Description List<List<QueryResult>>TDASearchConnector. batchQuery(List<TextFragment> fragments) -
Uses of QueryResult in net.sf.okapi.connectors.translatetoolkit
Methods in net.sf.okapi.connectors.translatetoolkit that return QueryResult Modifier and Type Method Description QueryResultTranslateToolkitTMConnector. next()Methods in net.sf.okapi.connectors.translatetoolkit that return types with arguments of type QueryResult Modifier and Type Method Description List<List<QueryResult>>TranslateToolkitTMConnector. batchQuery(List<TextFragment> fragments) -
Uses of QueryResult in net.sf.okapi.lib.translation
Fields in net.sf.okapi.lib.translation declared as QueryResult Modifier and Type Field Description protected QueryResultBaseConnector. resultMethods in net.sf.okapi.lib.translation that return QueryResult Modifier and Type Method Description QueryResultBaseConnector. next()QueryResultQueryManager. next()Gets the next hit for the last query.Methods in net.sf.okapi.lib.translation that return types with arguments of type QueryResult Modifier and Type Method Description List<List<QueryResult>>BaseConnector. batchQuery(List<TextFragment> fragments)Slow default implementation using query!! Override to take advantage of servers batch APIList<List<QueryResult>>BaseConnector. batchQueryText(List<String> plainTexts)List<QueryResult>QueryManager. getResults()Gets the list of all hit results of the last query.static ArrayList<QueryResult>QueryUtil. removeDuplicates(List<QueryResult> queryResults)Removes duplicates based on the Equals method ofQueryResult.Method parameters in net.sf.okapi.lib.translation with type arguments of type QueryResult Modifier and Type Method Description static ArrayList<QueryResult>QueryUtil. removeDuplicates(List<QueryResult> queryResults)Removes duplicates based on the Equals method ofQueryResult.
-