用户定调:aa1.cn 有道接口(v.api.aa1.cn/api/api-fanyi-yd)准确度没问题, 但当前故障率高;简心对非英语语种质量不好,排在有道前面。 SOURCES 顺序改为 JIANXIN → YOUDAO(aa1.cn) → GOOGLE。
This commit is contained in:
@@ -30,12 +30,14 @@ public class MaterialTranslator {
|
|||||||
.connectTimeout(Duration.ofSeconds(3))
|
.connectTimeout(Duration.ofSeconds(3))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
// 翻译源优先级:国内接口优先(必应 HTML 接口服务端取不到 SPA 译文,
|
// 翻译源优先级(第123批再续8 用户定调):简心排第一(质量稳),
|
||||||
// 不在 fallback 链里——必应只在 translateChatText 的 isLowQualityTranslation
|
// aa1.cn 有道排简心后面(用户给定的官方接口,准确度没问题但故障率略高),
|
||||||
// 兜底路径调用,材料名单字路径用不上)
|
// Google 殿后(对非英语语种质量差,仅兜底)
|
||||||
|
// 必应 HTML 接口服务端取不到 SPA 译文,不在 fallback 链里,
|
||||||
|
// 只在 translateChatText 的 isLowQualityTranslation 兜底路径调用
|
||||||
private static final List<TranslationSource> SOURCES = Arrays.asList(
|
private static final List<TranslationSource> SOURCES = Arrays.asList(
|
||||||
TranslationSource.YOUDAO,
|
|
||||||
TranslationSource.JIANXIN,
|
TranslationSource.JIANXIN,
|
||||||
|
TranslationSource.YOUDAO,
|
||||||
TranslationSource.GOOGLE
|
TranslationSource.GOOGLE
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user