diff --git a/data-computer/README.md b/data-computer/README.md index 8bd6674..169b555 100644 --- a/data-computer/README.md +++ b/data-computer/README.md @@ -22,9 +22,10 @@ ```json { "packages": [ - "@ezs/core@3.0.5", - "@ezs/analytics@2.0.23", - "@ezs/basics@2.5.1" + "@ezs/core@3.0.5", + "@ezs/analytics@2.0.23", + "@ezs/basics@2.5.1", + "@ezs/spawn@1.4.4" ] } ``` @@ -32,6 +33,7 @@ ## Utilisation - [v1/tree-segment](#v1%2ftree-segment) +- [v1/lda](#v1%2flda) ### v1/tree-segment @@ -50,7 +52,7 @@ ``` -on obtiendra : +on obtiendra : ```json [ @@ -60,18 +62,18 @@ {"source":"c","target":"d","weight":3}, {"source":"b","target":"d","weight":1}, {"source":"d","target":"e","weight":1} -] +] ``` > NOTE: Le service accepte des tableaux de tableaux (cas d'usage lodex/istex) -#### Paramètre(s) URL +#### Paramètre(s) URL | nom | description | | ------------------- | ------------------------------------------- | | indent (true/false) | Indenter le résultat renvoyer immédiatement | -#### Entête(s) HTTP +#### Entête(s) HTTP | nom | description | | ------ | ------------------------------------------------------------ | @@ -88,4 +90,26 @@ cat output.json |curl --data-binary @- "http://localhost:31976/v1/retrieve" > output.tar.gz ``` +### v1/lda + +... + +#### Paramètre(s) URL + +| nom | description | +| ------------------- | ------------------------------------------- | +| indent (true/false) | Indenter le résultat renvoyer immédiatement | + +#### Entête(s) HTTP + +| nom | description | +| ------ | ------------------------------------------------------------ | +| X-Hook | URL à appeler quand le résultat sera disponible (facultatif) | + +#### Exemple en ligne de commande + + +```bash +... +```