@nlpjs/ner
Advanced tools
Comparing version 4.0.1 to 4.1.0
{ | ||
"name": "@nlpjs/ner", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "Named Entity Recognition", | ||
@@ -28,7 +28,7 @@ "author": { | ||
"dependencies": { | ||
"@nlpjs/core": "^4.0.1", | ||
"@nlpjs/language-min": "^4.0.0-rc.19", | ||
"@nlpjs/core": "^4.1.0", | ||
"@nlpjs/language-min": "^4.1.0", | ||
"@nlpjs/similarity": "^4.0.0-rc.4" | ||
}, | ||
"gitHead": "4e9126a5c16404496eb4d9cc392f31315be5e6f2" | ||
"gitHead": "35a9f046ff64fa04e952ef9c14b3e1dd11bdba08" | ||
} |
@@ -46,2 +46,14 @@ /* | ||
edge.discarded = true; | ||
} else if (edge.type === 'enum' && other.type === 'enum') { | ||
if ( | ||
edge.len <= other.len && | ||
other.utteranceText.includes(edge.utteranceText) | ||
) { | ||
edge.discarded = true; | ||
} else if ( | ||
edge.len > other.len && | ||
edge.utteranceText.includes(other.utteranceText) | ||
) { | ||
other.discarded = true; | ||
} | ||
} | ||
@@ -48,0 +60,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
44996
1300
Updated@nlpjs/core@^4.1.0
Updated@nlpjs/language-min@^4.1.0