[文档修改](dev): 注释修改
This commit is contained in:
parent
6d1f714265
commit
b9e669a682
@ -6,7 +6,7 @@ import lombok.Data;
|
||||
/**
|
||||
* 扩展参数
|
||||
*
|
||||
* @author song_jx
|
||||
* @author nn200433
|
||||
* @date 2023-06-07 007 10:04:27
|
||||
*/
|
||||
@Data
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -24,7 +24,7 @@ public interface DemoService {
|
||||
* 字典 & 脱敏 & 摘要提取 演示
|
||||
*
|
||||
* @return {@link List }<{@link People }>
|
||||
* @author song_jx
|
||||
* @author nn200433
|
||||
*/
|
||||
public List<People> dictDemo2();
|
||||
|
||||
|
@ -36,7 +36,7 @@ public class TranslatorConfig {
|
||||
* 注册摘要提取服务默认实现
|
||||
*
|
||||
* @return {@link DictTranslateService }
|
||||
* @author song_jx
|
||||
* @author nn200433
|
||||
*/
|
||||
@Bean
|
||||
@ConditionalOnMissingBean
|
||||
|
@ -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 {
|
||||
|
@ -13,7 +13,7 @@ import java.util.List;
|
||||
/**
|
||||
* 摘要提取翻译
|
||||
*
|
||||
* @author song_jx
|
||||
* @author nn200433
|
||||
* @date 2023-06-07 09:32:49
|
||||
*/
|
||||
@Component
|
||||
|
Loading…
x
Reference in New Issue
Block a user