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