Révision 1988
| tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/functions/LexicalTable.java (revision 1988) | ||
|---|---|---|
| 273 | 273 |
extra = 1; |
| 274 | 274 |
} |
| 275 | 275 |
|
| 276 |
String[] entries = new String[alllines.size() + extra]; |
|
| 276 |
//String[] entries = new String[alllines.size() + extra];
|
|
| 277 | 277 |
|
| 278 | 278 |
int[][] mat = new int[rownames.size() + extra][colnames.size()]; |
| 279 | 279 |
int[] margins = new int[colnames.size()]; // compute margins |
| ... | ... | |
| 283 | 283 |
mat[i][j] = l.getFrequency(j); |
| 284 | 284 |
margins[j] += l.getFrequency(j); |
| 285 | 285 |
} |
| 286 |
entries[i++] = l.toString(); |
|
| 286 |
// entries[i++] = l.toString(); |
|
| 287 |
i++; |
|
| 287 | 288 |
} |
| 288 | 289 |
|
| 289 | 290 |
if (this.useAllOccurrences) {
|
| ... | ... | |
| 302 | 303 |
} |
| 303 | 304 |
mat[lines.size()][i] = reste[i]; |
| 304 | 305 |
} |
| 305 |
entries[lines.size()] = "#RESTE#"; //$NON-NLS-1$ |
|
| 306 |
//entries[lines.size()] = "#RESTE#"; //$NON-NLS-1$
|
|
| 306 | 307 |
rownames.add("#RESTE#"); //$NON-NLS-1$
|
| 307 | 308 |
//System.out.println("rownames: "+rownames);
|
| 308 | 309 |
//System.out.println("reste : "+Arrays.toString(reste));
|
Formats disponibles : Unified diff