Merge branch 'dev'

This commit is contained in:
song_jx 2023-06-07 17:39:50 +08:00
commit 11bfc81afc
9 changed files with 10 additions and 10 deletions

View File

@ -6,7 +6,7 @@ import lombok.Data;
/**
* 扩展参数
*
* @author song_jx
* @author nn200433
* @date 2023-06-07 007 10:04:27
*/
@Data

View File

@ -3,7 +3,7 @@ package com.aizuda.trans.service;
/**
* 摘要提取服务
*
* @author song_jx
* @author nn200433
* @date 2022-08-18 018 16:31:43
*/
public interface SummaryExtractService {
@ -14,7 +14,7 @@ public interface SummaryExtractService {
* @param content 内容
* @param maxLen 最大长度
* @return {@link String }
* @author song_jx
* @author nn200433
*/
public String extract(String content, int maxLen);

View File

@ -22,7 +22,7 @@ public interface Translatable {
* @param dictConfig 字典注解可获取属性配置
* @param extendParam 扩展参数
* @return {@link List }<{@link Object }>
* @author song_jx
* @author nn200433
*/
public List<Object> translate(String origin, Dictionary dictConfig, ExtendParam extendParam);

View File

@ -3,7 +3,7 @@ package com.aizuda.trans.summary;
/**
* 摘要提取接口
*
* @author song_jx
* @author nn200433
* @date 2022-12-08 008 10:47:22
*/
public interface ISummaryExtract {

View File

@ -3,7 +3,7 @@ package com.aizuda.trans.summary;
/**
* 摘要提取
*
* @author song_jx
* @author nn200433
* @date 2022-12-08 008 10:50:37
*/
public class SummaryExtract implements ISummaryExtract {

View File

@ -24,7 +24,7 @@ public interface DemoService {
* 字典 & 脱敏 & 摘要提取 演示
*
* @return {@link List }<{@link People }>
* @author song_jx
* @author nn200433
*/
public List<People> dictDemo2();

View File

@ -36,7 +36,7 @@ public class TranslatorConfig {
* 注册摘要提取服务默认实现
*
* @return {@link DictTranslateService }
* @author song_jx
* @author nn200433
*/
@Bean
@ConditionalOnMissingBean

View File

@ -7,7 +7,7 @@ import com.aizuda.trans.service.SummaryExtractService;
/**
* 摘要提取服务默认实现
*
* @author song_jx
* @author nn200433
* @date 2022-08-18 018 16:31:43
*/
public class DefaultSummaryExtractServiceImpl implements SummaryExtractService {

View File

@ -13,7 +13,7 @@ import java.util.List;
/**
* 摘要提取翻译
*
* @author song_jx
* @author nn200433
* @date 2023-06-07 09:32:49
*/
@Component