RCP: 0.7.2, Lexical table, export/import scenario, ergonomy
The export/import scenario is wrong and leads to misunderstanding.
Solution
Set 2 ways to import a lexical table :
- In a corpus :
-> This creates a new table not linked to other results
- in the main menu "File > Import > ‘Import lexical table…"
- in corpus view menu : Import > ‘Import lexical table…’
- in the main toolbar in the statistical commands area (AFC, etc.)
- In an existing lexical table :
(the reverse icon of the export data command) this updates the table and keep a certain logical hierarchy between results
- in the main menu : "File > Import > Data..."
- in the corpus view menu : Import > ‘Data…’
- in the main toolbar "Import Data..." before ‘Send to R’ to the Corpus object contextual menu (and toolbar and main menu)
- in the contextual menu of the lexical table editor "Import Data..."
External format : table format (XLSX, ODS, CSV, TSV)
- the file format is R TSV, English language (for floating point representation conventions)
- create a lexical table:
- named from the file name
- descendant of the corpus
- with the columns and rows from the file content
- R table encoding conventions:
- first line encodes columns names
- each following line, begins with its name C1 C2 C3 L1 11 12 13 L2 21 22 23 L3 31 32 33
Table format
- in external file
word | part1 | part2 | part3 |
---|---|---|---|
A | 1 | 2 | 3 |
B | 2 | 3 | 4 |
C | 3 | 4 | 5 |
- in TXM
(from redmine: issue id 228, created on 2013/07/09 by Matthieu Decorde)
Validation test
- Lexical table export/import
- create a lexical table from VOEUX@texts
- Export the lexical table content into a new spreadsheet file "test.ods" (Export > Data...)
- change the content of the first cell of the first part (part1)
- Import the lexical table data from the spreadsheet file "test.ods" into the lexical table (Import > Data...)
- check that the value of the first cell has been updated
- Lexical table from external file
- create a lexical table in VOEUX by importing its content from file "test.ods" (Import > Lexical table...)