参考文献模型校对换阿里云百炼,完善各种校对细节
This commit is contained in:
@@ -48,6 +48,8 @@ class ProductionArticleReferLiteratureService
|
||||
'abstract_text' => '',
|
||||
'content_text' => '',
|
||||
'mesh_terms' => '',
|
||||
'pub_language' => '',
|
||||
'pub_country' => '',
|
||||
'refer_content_cleaned' => '',
|
||||
'literature_pdf_url' => '',
|
||||
'fetch_sources' => '',
|
||||
@@ -63,6 +65,8 @@ class ProductionArticleReferLiteratureService
|
||||
'abstract_text' => trim((string)($stored['abstract_text'] ?? '')),
|
||||
'content_text' => trim((string)($stored['content_text'] ?? '')),
|
||||
'mesh_terms' => trim((string)($stored['mesh_terms'] ?? '')),
|
||||
'pub_language' => trim((string)($stored['pub_language'] ?? '')),
|
||||
'pub_country' => trim((string)($stored['pub_country'] ?? '')),
|
||||
'refer_content_cleaned' => trim((string)($stored['refer_content_cleaned'] ?? '')),
|
||||
'literature_pdf_url' => trim((string)($stored['literature_pdf_url'] ?? '')),
|
||||
'fetch_sources' => trim((string)($stored['fetch_sources'] ?? '')),
|
||||
@@ -109,6 +113,8 @@ class ProductionArticleReferLiteratureService
|
||||
'abstract_text' => (string)($data['abstract_text'] ?? ''),
|
||||
'content_text' => (string)($data['content_text'] ?? ''),
|
||||
'mesh_terms' => $this->formatMeshTerms($data['mesh_terms'] ?? ''),
|
||||
'pub_language' => $this->clip(strtolower(trim((string)($data['pub_language'] ?? ''))), 16),
|
||||
'pub_country' => $this->clip(strtolower(trim((string)($data['pub_country'] ?? ''))), 64),
|
||||
'refer_content_cleaned' => (string)($data['refer_content_cleaned'] ?? ''),
|
||||
'literature_pdf_url' => $this->clip((string)($data['literature_pdf_url'] ?? ''), 1024),
|
||||
'fetch_sources' => $this->clip($this->formatSources($data['fetch_sources'] ?? ''), 255),
|
||||
|
||||
Reference in New Issue
Block a user