Bug #958

TBX: X.X, nullpointer exception in JFC CA title generation if partition is null

Added by Matthieu Decorde over 4 years ago. Updated 4 months ago.

Status:Feedback Start date:08/01/2014
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Charts Spent time: -
Target version:TXM X.X

Description

The title of CA is built from its partition name, if its partition is null, then we'll use the corpus name


Related issues

related to Bug #1051: RCP: 0.7.6, CA chart title display the string "null" as c... Feedback 10/14/2014

History

#1 Updated by Matthieu Decorde over 4 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot over 4 years ago

  • Category changed from Commands to Charts
  • Target version changed from TXM X.X to TXM 0.7.6

#3 Updated by Sebastien Jacquot over 4 years ago

  • Target version changed from TXM 0.7.6 to TXM 0.7.7

#4 Updated by Sebastien Jacquot over 4 years ago

  • Status changed from New to Feedback
  • % Done changed from 60 to 80

Fixed.
Need to check if the system works well with the Cooccurrence extension in JFC mode but alos in R mode (more precisely, need to test CA without linked corpus and/or linked partition).
Result: the title should display "<no partition>" and "<no corpus>".

#5 Updated by Sebastien Jacquot over 4 years ago

Actually, it will be more useful to modify the entire title when CA is not linked to a partition or a corpus ?
Something as "Correspondence analysis factorial map of the XXXXX lexical table" ?

#6 Updated by Serge Heiden over 4 years ago

How can a CA be not linked to a corpus?

#7 Updated by Sebastien Jacquot over 4 years ago

I do not have access to the Cooc extension so I don't know if a corpus can be null when computing a CA from a cooc matrix. If the corpus can not be null, there's only the partition name to manage. What could we put in the title for this case of CA without partition ?
The actual pattern is:
"Correspondence analysis factorial map of the XXXXX partition in the XXXXX corpus"

#8 Updated by Serge Heiden over 4 years ago

CA title name

A CA is always computed on a partition of a corpus.

Partition name

The partition is based on:
  • partition object
  • lexical table object
  • partition Index object
  • etc.

For each partition type, we need to define the "name of the partition".

By default it can be the name of the object used by CA as a partition.

Maybe we need to set a partition name for the deferent objects that CA can process to be able to build a title.

We may have to define a new command parameter field to give a name to partition objects.

Corpus name

A CA is based on a partition related to a corpus or a sub-corpus.

The object at the origin of the partition must provide the corpus name to use to build a title.

We may have to define a new command parameter field to give a name to sub-corpus objects.

#9 Updated by Sebastien Jacquot over 4 years ago

Doesn't the Cooc extension manage the computation of CA from unlinked lexical tables ?

#10 Updated by Sebastien Jacquot over 4 years ago

  • Target version changed from TXM 0.7.7 to TXM 0.7.8

#11 Updated by Matthieu Decorde over 3 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#12 Updated by Sebastien Jacquot 10 months ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#13 Updated by Sebastien Jacquot 4 months ago

  • Target version changed from TXM 0.8.0 to TXM X.X

Also available in: Atom PDF