Révision 1198
| tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/functions/LexicalTable.java (revision 1198) | ||
|---|---|---|
| 104 | 104 |
public LexicalTable(CQPCorpus corpus) throws Exception {
|
| 105 | 105 |
//this(corpus, corpus.getDefaultProperty(), null); |
| 106 | 106 |
super(corpus); |
| 107 |
this.setUnitProperty(corpus.getDefaultProperty()); |
|
| 107 |
if (property == null) {
|
|
| 108 |
this.setUnitProperty(corpus.getDefaultProperty()); |
|
| 109 |
} |
|
| 108 | 110 |
} |
| 109 | 111 |
|
| 110 | 112 |
// /** |
| ... | ... | |
| 136 | 138 |
*/ |
| 137 | 139 |
public LexicalTable(Partition partition) {
|
| 138 | 140 |
super(partition); |
| 141 |
if (property == null) {
|
|
| 142 |
try {
|
|
| 143 |
this.setUnitProperty(partition.getCorpus().getDefaultProperty()); |
|
| 144 |
} catch (CqiClientException e) {
|
|
| 145 |
e.printStackTrace(); |
|
| 146 |
} |
|
| 147 |
} |
|
| 139 | 148 |
} |
| 140 | 149 |
|
| 141 | 150 |
// /** |
Formats disponibles : Unified diff