@nlpjs/lang-ko
Advanced tools
Comparing version 4.23.4 to 4.25.0
{ | ||
"name": "@nlpjs/lang-ko", | ||
"version": "4.23.4", | ||
"version": "4.25.0", | ||
"description": "Core", | ||
@@ -28,5 +28,5 @@ "author": { | ||
"dependencies": { | ||
"@nlpjs/core": "^4.23.4" | ||
"@nlpjs/core": "^4.25.0" | ||
}, | ||
"gitHead": "ad0a639c4cd58735903a21272f7a04a8ace886ab" | ||
"gitHead": "3065165b42ea2160d2a27c10c412c4b4c491332a" | ||
} |
@@ -30,3 +30,4 @@ /* | ||
[KoreanPos.Email]: /([A-Za-z0-9.\-_]+@[A-Za-z0-9.]+)/, | ||
[KoreanPos.Number]: /(\$?[0-9]+(,[0-9]{3})*([/~:.-][0-9]+)?(천|만|억|조)*(%|원|달러|위안|옌|엔|유로|등|년|월|일|회|시간|시|분|초)?)/, | ||
[KoreanPos.Number]: | ||
/(\$?[0-9]+(,[0-9]{3})*([/~:.-][0-9]+)?(천|만|억|조)*(%|원|달러|위안|옌|엔|유로|등|년|월|일|회|시간|시|분|초)?)/, | ||
[KoreanPos.Korean]: /([가-힣]+)/, | ||
@@ -33,0 +34,0 @@ [KoreanPos.KoreanParticle]: /([ㄱ-ㅣ]+)/, |
@@ -55,3 +55,4 @@ /* | ||
function isHangulChar(ch) { | ||
const regex = /[\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/g; | ||
const regex = | ||
/[\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/g; | ||
return regex.test(ch); | ||
@@ -58,0 +59,0 @@ } |
@@ -78,3 +78,4 @@ /* | ||
isHangulChar(ch) { | ||
const regex = /[\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/g; | ||
const regex = | ||
/[\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/g; | ||
return regex.test(ch); | ||
@@ -81,0 +82,0 @@ } |
@@ -34,3 +34,4 @@ /* | ||
isHangulChar(ch) { | ||
const regex = /[\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/g; | ||
const regex = | ||
/[\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/g; | ||
return regex.test(ch); | ||
@@ -37,0 +38,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3011680
1360
Updated@nlpjs/core@^4.25.0