DPI 1-4문항 레이어명 불일치시 "확인필요"로 처리
This commit is contained in:
@@ -9,7 +9,7 @@ const stringSimilarity = require("string-similarity");
|
||||
* @param {number} threshold - 유사도 기준 (0~1)
|
||||
* @returns {string} - 유사한 문자열
|
||||
*/
|
||||
function findSimilarString(xmlDoc, targetString, threshold = 0.8) {
|
||||
function findSimilarString(xmlDoc, targetString, threshold = 0.7) {
|
||||
// XML 내부의 비교 대상 텍스트 리스트 찾기
|
||||
function getTextNodes(xmlDoc, paths = ["//CRCUnitArr/@Name"]) {
|
||||
const stringList = [];
|
||||
|
||||
Reference in New Issue
Block a user