(3-22)~(3-27) 오프닝 자막 유사도 1.0=>0.8로 내림

This commit is contained in:
2025-02-20 00:48:25 +09:00
parent 5d8d378dfd
commit e16b158831
10 changed files with 4 additions and 4 deletions

View File

@@ -35,13 +35,13 @@ const answerFilesDir = './output/D/DIC';
// const outputExcelFile = './DIC_2521A_result.xlsx';
// const outputExcelFile = './DIC_2521B_result.xlsx';
// const outputExcelFile = './DIC_2521C_result.xlsx';
const outputExcelFile = './DIC_2521D_result.xlsx';
// const outputExcelFile = './DIC_2521D_result.xlsx';
// TEST
// const outputExcelFile = './DIC_2521A_TEST.xlsx';
// const outputExcelFile = './DIC_2521B_TEST.xlsx';
// const outputExcelFile = './DIC_2521C_TEST.xlsx';
// const outputExcelFile = './DIC_2521D_TEST.xlsx';
const outputExcelFile = './DIC_2521D_TEST.xlsx';
// --------------------------------------------------------
// 답안 폴더 내부에 디렉토리가 아닌 일반 파일이 있을 경우 디렉토리만 필터링 해서 불러옴
@@ -157,7 +157,7 @@ function getGmepScore(gmepData, scoringJson, index) {
* > 멀티라인 텍스트 유사도 판별하기 어려움
*/
if (search !== undefined) {
let result = findSimilarString(gmepXmlDoc, search, 1.0)
let result = findSimilarString(gmepXmlDoc, search, 0.8)
ele = ele.replace(/{search}/g, result);
if ( existEle !== undefined ){
existEle = existEle.replace(/{search}/g, result);