|
@@ -242,7 +242,7 @@ public class BeHospitalizedAI extends ModelAI {
|
|
try {
|
|
try {
|
|
midData = loadAI(crfContent, crfServiceClient);
|
|
midData = loadAI(crfContent, crfServiceClient);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
- throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "CRF模型【服务器】挂了!" + e.getMessage());
|
|
|
|
|
|
+ throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "CRF解析文本【超时】或【服务出错】!");
|
|
}
|
|
}
|
|
/* 处理主诉 */
|
|
/* 处理主诉 */
|
|
if (StringUtil.isNotBlank(wordCrfDTO.getChiefLabel().getText())) {
|
|
if (StringUtil.isNotBlank(wordCrfDTO.getChiefLabel().getText())) {
|