Commit 44ce7148 authored by Ludan Stoecklé's avatar Ludan Stoecklé

1.4.1

parent 8c818184
......@@ -3,15 +3,15 @@
"description": "RosaeNLG complete repo with a fork of pug",
"private": true,
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.1.0",
"@typescript-eslint/parser": "^2.1.0",
"typescript": "^3.6.2",
"eslint": "^6.3.0",
"eslint-config-prettier": "^6.2.0",
"eslint-plugin-prettier": "^3.0.1",
"lerna": "^3.16.5",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"typescript": "^3.7.2",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"lerna": "^3.18.4",
"nyc": "^14.1.1",
"prettier": "^1.17.0"
"prettier": "^1.19.1"
},
"repository": {
"type": "git",
......@@ -38,7 +38,7 @@
"packages/*"
],
"dependencies": {
"snyk": "^1.232.0"
"snyk": "^1.247.1"
},
"snyk": true
}
......@@ -53,8 +53,8 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
}
}
......@@ -54,8 +54,8 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
}
}
......@@ -53,8 +53,8 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
}
}
......@@ -52,9 +52,9 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"dependencies": {
"debug": "^4.1.1"
......
......@@ -51,9 +51,9 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"dependencies": {
"debug": "^4.1.1"
......
......@@ -53,12 +53,12 @@
"french-h-muet-aspire": "2.4.0"
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"ts-sync-request": "^1.4.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"verbs",
......
......@@ -51,11 +51,11 @@
"debug": "^4.1.1"
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"words",
......
......@@ -48,11 +48,11 @@
}
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"adjectives",
......
......@@ -53,8 +53,8 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
}
}
......@@ -52,11 +52,11 @@
"debug": "^4.1.1"
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"German",
......
......@@ -54,8 +54,8 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
}
}
......@@ -48,11 +48,11 @@
}
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"verbs",
......
......@@ -51,11 +51,11 @@
}
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"words",
......
......@@ -51,15 +51,15 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"dependencies": {
"@types/browserify": "^12.0.36",
"browserify": "^16.2.3",
"browserify": "^16.5.0",
"debug": "^4.1.1",
"minify-stream": "^1.2.0",
"minify-stream": "^1.2.1",
"rosaenlg": "1.4.0"
}
}
......@@ -44,11 +44,11 @@
}
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"adjectives",
......
......@@ -49,8 +49,8 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
}
}
......@@ -48,9 +48,9 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"dependencies": {
"debug": "^4.1.1"
......
......@@ -44,11 +44,11 @@
}
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"verbs",
......
......@@ -48,11 +48,11 @@
}
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"words",
......
......@@ -48,11 +48,11 @@
"debug": "^4.1.1"
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"French",
......
......@@ -48,11 +48,11 @@
"debug": "^4.1.1"
},
"devDependencies": {
"copyfiles": "^2.1.0",
"mocha": "^6.0.2",
"copyfiles": "^2.1.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"keywords": [
"Italian",
......
......@@ -52,8 +52,8 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
}
}
......@@ -138,6 +138,9 @@ const testCasesList = [
['bla. de une part', "Bla. D'une part"],
['bla. je aime', "Bla. J'aime"],
['Je irai', "J'irai"],
['Je ne irai pas', "Je n'irai pas"],
['Je ne en veut plus', "Je n'en veut plus"],
['Je en veut plus', "J'en veut plus"],
['Je <b> irai</b>', "J'<b>irai</b>"],
['de les', 'Des'],
['bla de <b>les tests</b>', 'Bla des <b>tests</b>'],
......
......@@ -42,15 +42,14 @@
"pug"
],
"devDependencies": {
"@types/node": "^12.7.4",
"mocha": "^6.0.2",
"@types/node": "^12.12.7",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"source-map-support": "^0.5.11",
"ts-node": "^8.0.3",
"typescript": "^3.6.2"
"source-map-support": "^0.5.16",
"typescript": "^3.7.2"
},
"dependencies": {
"constantinople": "^3.1.2",
"constantinople": "^4.0.1",
"debug": "^4.1.1",
"doctypes": "^1.1.0",
"french-verbs": "2.4.0",
......@@ -60,11 +59,11 @@
"italian-adjectives": "2.4.0",
"italian-verbs": "2.4.0",
"italian-words": "2.4.0",
"js-stringify": "^1.0.1",
"js-stringify": "^1.0.2",
"pug-attrs": "^2.0.3",
"pug-error": "^1.3.2",
"pug-runtime": "^2.0.4",
"recast": "^0.18.2",
"recast": "^0.18.5",
"void-elements": "^3.1.0",
"with": "^6.0.0"
},
......
......@@ -8,7 +8,7 @@
],
"dependencies": {
"clean-css": "^4.1.11",
"constantinople": "^3.1.2",
"constantinople": "^4.0.1",
"jstransformer": "1.0.0",
"pug-error": "^1.3.2",
"resolve": "^1.1.6",
......
......@@ -7,7 +7,7 @@
"pug"
],
"dependencies": {
"constantinople": "^3.1.2",
"constantinople": "^4.0.1",
"debug": "^4.1.1",
"doctypes": "^1.1.0",
"js-stringify": "^1.0.1",
......
name: rosaenlg
version: '1.4.0'
version: '1.4.1'
title: RosaeNLG
nav:
- modules/ROOT/nav.adoc
......
......@@ -8,6 +8,17 @@ https://keepachangelog.com/en/0.3.0/
=== Changed
////
== [1.4.1] - 2019-11-15
=== Added
* `NlgLib` is now exposed. Useful when using `compileFile` (e.g. `import {compileFile, NlgLib} from 'rosaenlg'`),and mandatory for `rosaenlg-node-server`.
=== Changed
* update of many dependancies
== [1.4.0] - 2019-11-07
=== Changed
......
......@@ -7,6 +7,7 @@
** Command Line Interface
*** xref:rosaenlg-cli:rosaenlg-cli.adoc[CLI module]
*** xref:docker-cli:docker-cli.adoc[Docker image for CLI]
** xref:node-server:node-server.adoc[Node.js Server]
** Java Wrapper and Server
*** xref:java-wrapper:java-wrapper.adoc[Java Wrapper]
*** xref:java-server:java-server.adoc[Java Server and Docker Server]
......@@ -2,4 +2,3 @@
** xref:tutorial_en_US.adoc[English]
** xref:tutorial_fr_FR.adoc[French (en Français !)]
** xref:tutorial_de_DE.adoc[German]
** xref:boilerplate.adoc[Best Practices & Boilerplate project]
\ No newline at end of file
......@@ -48,6 +48,8 @@ const italianVerbs = require('italian-verbs');
const NlgLib = require('./NlgLib.js').NlgLib;
exports.NlgLib = NlgLib;
/**
* Name for detection
*/
......
......@@ -71,7 +71,7 @@
},
"dependencies": {
"@types/numeral": "^0.0.26",
"@types/random-js": "^1.0.31",
"@types/random-js": "^2.0.0",
"compromise": "^11.14.3",
"debug": "^4.1.1",
"english-determiners": "2.4.0",
......@@ -98,7 +98,7 @@
"pluralize-fr": "^1.0.1",
"pug-runtime": "^2.0.4",
"pug-strip-comments": "^1.0.3",
"random-js": "^2.0.0-rc3",
"random-js": "^2.1.0",
"rosaenlg-filter": "2.4.0",
"rosaenlg-pug-code-gen": "3.4.0",
"rosaenlg-pug-filters": "4.4.0",
......@@ -112,24 +112,23 @@
"written-number": "^0.9.1"
},
"devDependencies": {
"@types/node": "^12.7.4",
"@types/node": "^12.12.7",
"brfs": "^2.0.2",
"browser-pack-flat": "^3.3.0",
"browserify": "^16.2.3",
"browser-pack-flat": "^3.4.2",
"browserify": "^16.5.0",
"browserify-versionify": "^1.0.6",
"common-shakeify": "^0.6.0",
"common-shakeify": "^0.6.2",
"envify": "^4.1.0",
"gulp": "^4.0.0",
"gulp": "^4.0.2",
"gulp-concat": "^2.6.1",
"gulp-pegjs": "^0.2.0",
"gulp-rename": "^1.4.0",
"minify-stream": "^1.2.0",
"mocha": "^6.0.2",
"minify-stream": "^1.2.1",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"recursive-readdir-sync": "^1.0.6",
"source-map-support": "^0.5.11",
"ts-node": "^8.0.3",
"typescript": "^3.6.2",
"source-map-support": "^0.5.16",
"typescript": "^3.7.2",
"unassertify": "^2.1.1"
},
"browser": {
......
declare module 'compromise';
declare module 'random-js';
// declare module 'random-js';
declare module 'written-number';
declare module 'write-int';
declare module 'numeral';
......
......@@ -3,12 +3,6 @@ import { Random, MersenneTwister19937 } from 'random-js';
//import * as Debug from "debug";
//const debug = Debug("rosaenlg");
/*
interface ItemWithWeight {
weight: number;
}
*/
export class RandomManager {
private incrRandomer: number;
private rndNextPos: number;
......
......@@ -48,9 +48,9 @@
"author": "Ludan Stoecklé <ludan.stoeckle@rosaenlg.org>",
"license": "MIT",
"devDependencies": {
"mocha": "^6.0.2",
"mocha": "^6.2.2",
"nyc": "^14.1.1",
"typescript": "^3.6.2"
"typescript": "^3.7.2"
},
"dependencies": {
"@types/snowball-stemmers": "^0.6.0",
......@@ -61,6 +61,6 @@
"stopwords-en": "^0.3.0",
"stopwords-fr": "^0.2.0",
"stopwords-it": "^0.3.1",
"wink-tokenizer": "^5.2.0"
"wink-tokenizer": "^5.2.1"
}
}
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment