rosaenlg-filter
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -9,3 +9,16 @@ "use strict"; | ||
{ | ||
const contrList = ['[Dd]e', '[Qq]ue', '[Ll]e', '[Ll]a', '[Ss]e', '[Jj]e']; | ||
const contrList = [ | ||
'[Dd]e', | ||
'[Qq]ue', | ||
'[Ll]e', | ||
'[Ll]a', | ||
'[Ss]e', | ||
'[Jj]e', | ||
'[Tt]e', | ||
'[Mm]e', | ||
'[Nn]e', | ||
'[Pp]uisque', | ||
'[Jj]usque', | ||
'[Ll]orsque', | ||
]; | ||
for (let i = 0; i < contrList.length; i++) { | ||
@@ -45,5 +58,11 @@ // gérer le cas où 'de' est en début de phrase | ||
['de', 'les', 'des'], | ||
['de', 'lequel', 'duquel'], | ||
['de', 'lesquels', 'desquels'], | ||
['de', 'lesquelles', 'desquelles'], | ||
['des', 'les', 'des'], | ||
['à', 'le', 'au'], | ||
['à', 'lequel', 'auquel'], | ||
['à', 'les', 'aux'], | ||
['à', 'lesquels', 'auxquels'], | ||
['à', 'lesquelles', 'auxquelles'], | ||
]; | ||
@@ -50,0 +69,0 @@ for (let i = 0; i < contrList.length; i++) { |
{ | ||
"name": "rosaenlg-filter", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Filtering feature of RosaeNLG", | ||
@@ -46,3 +46,3 @@ "main": "dist/index.js", | ||
"debug": "^4.1.1", | ||
"french-h-muet-aspire": "2.1.0", | ||
"french-h-muet-aspire": "2.1.1", | ||
"titlecase-french": "^1.0.1" | ||
@@ -60,3 +60,3 @@ }, | ||
}, | ||
"gitHead": "c356067a44ca56efca8cd88a69480b707be574d1" | ||
"gitHead": "34a405da7c43b119c829c0849aa51a33565e3fce" | ||
} |
Sorry, the diff of this file is not supported yet
57409
809
+ Addedfrench-h-muet-aspire@2.1.1(transitive)
- Removedfrench-h-muet-aspire@2.1.0(transitive)
Updatedfrench-h-muet-aspire@2.1.1