save
This commit is contained in:
@@ -237,7 +237,7 @@ export function splitCNArticle(text: string): Sentence[][] {
|
||||
// console.log('sentence', sentenceRow)
|
||||
})
|
||||
})
|
||||
console.log('sections', sections)
|
||||
// console.log('sections', sections)
|
||||
return sections
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ export function renewSectionTranslates(article: Article, translate: string) {
|
||||
let failCount = 0
|
||||
if (translate.trim()) {
|
||||
let articleTranslate = translate.split('\n')
|
||||
console.log('articleTranslate', articleTranslate)
|
||||
// console.log('articleTranslate', articleTranslate)
|
||||
// console.log('articleTranslate', articleTranslate)
|
||||
let count = 0
|
||||
for (let i = 0; i < article.sections.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user