Task #3079

WordCloud 1.0.0.202006261407, tune Word Cloud command workflow and logs

Added by Serge Heiden about 1 month ago. Updated about 1 month ago.

Status:New Start date:05/26/2021
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Charts Spent time: -
Target version:TXM 0.8.3

Description

Currently, the logs of the Word Cloud command are as follows:

Chargement du package : Rcpp
Stacktrace: 
[1]       org.txm.wordcloud.core.functions.WordCloud.loadAndInstallNeededPackages  WordCloud.java, 177
[2]       org.txm.wordcloud.core.functions.WordCloud.                initPackages  WordCloud.java, 159
[3]  org.txm.wordcloud.rcp.handlers.ComputeWordCloud.                     execute  ComputeWordCloud.java, 68
[4]                          org.txm.rcp.Application.                       start  Application.java, 260
Chargement du package : RColorBrewer
Stacktrace: 
[1]       org.txm.wordcloud.core.functions.WordCloud.loadAndInstallNeededPackages  WordCloud.java, 177
[2]       org.txm.wordcloud.core.functions.WordCloud.                initPackages  WordCloud.java, 159
[3]  org.txm.wordcloud.rcp.handlers.ComputeWordCloud.                     execute  ComputeWordCloud.java, 68
[4]                          org.txm.rcp.Application.                       start  Application.java, 260
Chargement du package : wordcloud
Stacktrace: 
[1]       org.txm.wordcloud.core.functions.WordCloud.loadAndInstallNeededPackages  WordCloud.java, 177
[2]       org.txm.wordcloud.core.functions.WordCloud.                initPackages  WordCloud.java, 159
[3]  org.txm.wordcloud.rcp.handlers.ComputeWordCloud.                     execute  ComputeWordCloud.java, 68
[4]                          org.txm.rcp.Application.                       start  Application.java, 260
Used query: [frpos="NOM|NAM|ADJ|VER.*"  & frlemma!="être|avoir|faire|pouvoir|devoir|vouloir|falloir|aller|dire|savoir"]
Index de <[frpos="NOM|NAM|ADJ|VER.*"  & frlemma!="être|avoir|faire|pouvoir|devoir|vouloir|falloir|aller|dire|savoir"]>, propriété @word, dans le corpus VOEUX...
5 564 items pour 20 035 occurrences.
Computing WordCloud...
JFCWordCloudChartCreator.createChart(): Not yet implemented
Terminé.
WordCloud est prêt : Fmin=20 Vmax=50

  • a) the Chargement du package : Rcpp, etc. comments should be displayed in a finer log level (for debug purpose)
  • b) the Stacktraces: [1] org.txm.wordcloud.core.functions.WordCloud.loadAndInstallNeededPackages WordCloud.java, 177 must not be displayed, and if a real problem is raised a corresponding error message must be displayed
  • c) the Used query: ... is not useful given the next comment (the query is repeated), and should anyway be "Query used:..."
  • d) the WordCloud est prêt : Fmin=20 Vmax=50 comment should not be displayed if the word cloud is not displayed because of a bug, as it is in the logs here. Instead a "Command aborted" message should be displayed

History

#1 Updated by Matthieu Decorde about 1 month ago

  • Target version changed from TXM 0.8.2 to TXM 0.8.3

Also available in: Atom PDF