Révision 1385
| tmp/org.txm.specificities.core/src/org/txm/specificities/core/functions/Specificities.java (revision 1385) | ||
|---|---|---|
| 188 | 188 |
SpecificitiesR rSpecificities = new SpecificitiesR(this.lexicalTable.getData()); |
| 189 | 189 |
double[][] specIndex = rSpecificities.getScores(); |
| 190 | 190 |
|
| 191 |
String sname = null; |
|
| 192 |
if (this.lexicalTable.getProperty() != null) {
|
|
| 193 |
sname = this.lexicalTable.getProperty().getName(); |
|
| 194 |
} else {
|
|
| 195 |
sname = this.lexicalTable.getParent().getName(); |
|
| 196 |
} |
|
| 197 |
|
|
| 191 | 198 |
if (this.lexicalTable.getPartition() != null) {
|
| 192 |
init(symbol, specIndex, this.lexicalTable.getProperty().getName()); |
|
| 199 |
init(symbol, specIndex, sname); |
|
| 200 |
} else {
|
|
| 201 |
init(rSpecificities.getSymbol(), specIndex, sname); |
|
| 193 | 202 |
} |
| 194 |
else {
|
|
| 195 |
init(rSpecificities.getSymbol(), specIndex, "TLNONAME: " + this.lexicalTable.getProperty()); //$NON-NLS-1$ |
|
| 196 |
} |
|
| 197 | 203 |
} |
| 198 | 204 |
|
| 199 | 205 |
return true; |
Formats disponibles : Unified diff