@nlpjs/ner
Advanced tools
Comparing version 4.1.4 to 4.3.0
{ | ||
"name": "@nlpjs/ner", | ||
"version": "4.1.4", | ||
"version": "4.3.0", | ||
"description": "Named Entity Recognition", | ||
@@ -28,7 +28,7 @@ "author": { | ||
"dependencies": { | ||
"@nlpjs/core": "^4.1.4", | ||
"@nlpjs/language-min": "^4.1.2", | ||
"@nlpjs/core": "^4.3.0", | ||
"@nlpjs/language-min": "^4.3.0", | ||
"@nlpjs/similarity": "^4.0.0-rc.4" | ||
}, | ||
"gitHead": "99500ae2f3e16666fa5cc08a486664ef5267e810" | ||
"gitHead": "68b063504d4cc94d11de373516114befc7c4e648" | ||
} |
@@ -0,0 +0,0 @@ /* |
@@ -186,3 +186,3 @@ /* | ||
} | ||
return allRules.filter(x => x.type === 'enum'); | ||
return allRules.filter((x) => x.type === 'enum'); | ||
} | ||
@@ -189,0 +189,0 @@ |
@@ -38,3 +38,3 @@ /* | ||
} | ||
return allRules.filter(x => x.type === 'regex'); | ||
return allRules.filter((x) => x.type === 'regex'); | ||
} | ||
@@ -41,0 +41,0 @@ |
@@ -273,3 +273,3 @@ /* | ||
} | ||
return allRules.filter(x => x.type === 'trim'); | ||
return allRules.filter((x) => x.type === 'trim'); | ||
} | ||
@@ -276,0 +276,0 @@ |
@@ -0,0 +0,0 @@ /* |
@@ -389,3 +389,3 @@ /* | ||
} | ||
const tokens = utterance.split(/[\s,.!?;:([\]'"¡¿)/]+/).filter(x => x); | ||
const tokens = utterance.split(/[\s,.!?;:([\]'"¡¿)/]+/).filter((x) => x); | ||
const result = []; | ||
@@ -392,0 +392,0 @@ for (let i = 0; i < tokens.length; i += 1) { |
@@ -75,5 +75,5 @@ /* | ||
} | ||
return edges.filter(x => !x.discarded); | ||
return edges.filter((x) => !x.discarded); | ||
} | ||
module.exports = reduceEdges; |
@@ -0,0 +0,0 @@ /* |
43618
Updated@nlpjs/core@^4.3.0
Updated@nlpjs/language-min@^4.3.0